Registering commandsโ
tip
๐ก For fully functional slash commands, you need three important pieces of code:
- The individual command files, containing their definitions and functionality.
- The command handler, which dynamically reads the files and executes the commands.
- The command deployment script, to register your slash commands with Discord so they appear in the interface.
These steps can be done in any order, but all are required before the commands are fully functional.
This page details how to complete Step 3. Make sure to also complete the other pages linked above!
info
โน๏ธ This section is only required, if you are using slash-commands!