It's a simple TypeScript written Discord.JS v14 bot you can easily add commands. It automaticly updates the slash commands with the Discord API.
To create a new command, you can simply create a new TypeScript file in the commands
folder. You can use whatever name you like. See 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 (v16.9 or higher)
yarn
cp .env-example .env
and update the valuesyarn dev
More information can be found at: https://discordjs.guide/