06000208 / sandplate

An opinionated discord.js bot template
The Unlicense
2 stars 0 forks source link

Custom Events #22

Closed 06000208 closed 3 years ago

06000208 commented 4 years ago

Pretty self explainatory, implementing new events for the client or other event emitters would allow for some great new functionality. Right now, the only ones I have in mind are events for the failure of command usage validity checks (depends on #21), but I'm sure there's more in various places across the bot.

06000208 commented 4 years ago

Changing the command parser into a more encompassing message parser, and adding a "commandUsed" event to compliment the CommandConstruct.run function, which in turn could be a lot simpler and use shared code