Files
discordeno/website/tutorial/nodejs/CommandHandler/getting-started.md
Jonathan Ho 79cc362c22 feat: add site back to website (temp) (#3267)
* feat: add site back to website

* refactor: use same sidebar

* fix: delete generated docs
2023-12-07 01:00:20 +00:00

656 B

sidebar_position
sidebar_position
1

Getting Started with the Command Manager

One of the most important characteristics of bots is that they have commands that can be used to interact with the bot.

Hard coding your commands in an event function is not the best code practice and should be strictly prevented.

In the following we will show you how to create a command manager, which is compatible with Discordeno's Client.

  • Load Commands
  • Handle Commands
  • Reload Commands

:::info template

You can also copy the CommandManager from the template repo.

:::