Requirements
Runtime
| Requirement | Details |
|---|---|
| Node.js | 22.13 or newer. The bot uses Node's built-in node:sqlite module for the default SQLite database. |
| Discord bot token | Create an application at the Discord Developer Portal and copy the token from the Bot tab. |
| Application (client) ID | Copied from the same application page. Needed to register slash commands. |
| Database | SQLite (built in, default) or a MySQL server. See Database Setup. |
Bot permissions
Grant the bot these permissions guild-wide, or on every category used for tickets:
- Manage Channels — creates and deletes ticket channels.
- Create Private Threads — only needed for categories set to thread-based tickets.
- View Channels, Send Messages, Embed Links, Attach Files, Read Message History.
Granting Administrator is the simplest way to rule out permission problems. See Discord Permissions for what each permission is used for.