Skip to content
Raphael V edited this page Dec 16, 2021 · 4 revisions

Sheweny: A framework for create discord bots !

Last August, discord.js V13 was released, and with that the new features of discord: Interactions. However all popular frameworks like "Discord akairo" and "Commando" have been deprecated at this time. Indeed the amount of work for the updates was too important. At this moment, Sheweny was born.

The idea for "Sheweny" came to me when I wanted to start coding a bot with discord.js V13 and had to update my code. It took me a while to figure out how the interactions worked and it turned out to be pretty complex. I also noticed that around me programming beginners had difficulty updating their bot, to the point of not changing the version for some. At this point I started to code Sheweny. The goal was to make it easy for everyone, even beginners, to do a discord bot.

Main features of Sheweny :

  • Modular and reloadable commands, inhibitors, events and interactions.

  • Flexible command handling and creation.

  • Interactions support like slash-commands, buttons, select-menus, modals.

  • Powerful and thorough command arguments parsing.

  • Development mode to limit errors

  • Full javascript and typescript support

During the development of this framework the main difficulty was to create reusable classes everywhere in order to be able to develop new functionalities very quickly. Indeed the interactions are young at discord and new functionalities come out very often. Thanks to its very modular structure the framework can be updated very easily. This allows Sheweny to be each time the first framework to support new discord features !

Here's the Github repository if you'd like to review the code. Also here is the Github organization for discover more projects like CLI, Website etc.

Sheweny was my first big project and I was very happy to see people like it. If some people have ideas, improvements or comments to make on the project, I will be very happy to listen to them. Thanks for taking the time to read this article and thanks to everyone who contributed to the project, from the star left on the github to the people who contributed the code❤️

Clone this wiki locally