A fully featured ticket bot built in JavaScript. Users can create tickets via reaction or command, fill out a description popup, and get connected to staff instantly — all inside a dedicated channel per ticket.
- Ticket creation — reaction or command triggered, opens a modal for the user to describe their issue
- Auto-setup — creates a private channel, tags the user and relevant staff, and displays their request clearly
- Closing system — controlled close flow so tickets don't just disappear
- Transcripts — full conversation saved when a ticket closes
- Stats — ticket activity tracked in a local SQLite database
- JavaScript (Node.js)
- Discord.js
- SQLite — local database for stats
- YAML — config and language strings
- Clone the repo and install dependencies:
npm install-
Edit
config.ymlwith your bot token and server settings. -
Customise
lang.ymlif you want to change any bot messages. -
Run the bot:
node index.js- Node.js 16+
- A Discord application with bot token — Discord Developer Portal
- Bot needs permissions:
Manage Channels,Manage Roles,Read Messages,Send Messages,Embed Links
Working and self-hostable.