Gaute945 / Overmounting

Overmounting is a feature rich discord bot with discord's api and complex slash commands
Other
5 stars 2 forks source link

seperate files for commands #13

Closed Gaute945 closed 2 months ago

Gaute945 commented 10 months ago

Split the commands into seperate files

Rationale

This will produce cleaner and safer code and enable typescript for some commands

Implementation Details

https://discordjs.guide/creating-your-bot/slash-commands.html#creating-slash-commands to https://discordjs.guide/creating-your-bot/command-handling.html#executing-commands

For fully functional slash commands, there are three important pieces of code that need to be written. They are:


Note:

Gaute945 commented 7 months ago

maybe not worth doing...

Gaute945 commented 2 months ago

we're so back