It's a simple TypeScript written Discord.JS v14.16.3 bot you can easily add commands and events to. It automatically updates the slash commands with the Discord API.
To create a new command, you can create a TypeScript file either directly in the commands folder or within a category subfolder. For example:
commands/echo.tscommands/messages/echo.tscommands/moderation/ban.ts
The command structure remains the same regardless of its location. See commands/messages/echo.ts as an example.
To create a new event, see the Discord.JS Client documentation for available events and create a new TypeScript file in the events folder with event name. For example: createInteraction.ts or ready.ts.
- An editor with TypeScript support (Visual Studio Code) is recommended.
- Yarn
- Node (v20.9 or higher is recommended)
yarncp .env-example .envand update the valuesyarn dev
More information can be found at: https://discordjs.guide/