This project is a 24 hours challenge to make a simple Discord ticket bot using discord.js.
- Info
| Command | Description |
|---|---|
| botinfo | Displays in-depth information about the bot. |
| help | Returns the help page, or one specific command info. |
| ping | Returns the bot's latency and API ping. |
| uptime | Check how long has the bot been online. |
- Owner
| Command | Description |
|---|---|
| eval | Evaluate a specified JavaScript code. |
| restart | Restarts the bot. |
| test | Checks if the bot is working. |
- Ticket
| Command | Description |
|---|---|
| add | Adds a member to a specified ticket. |
| close | Closes the ticket. |
| delete | Delete a specified ticket. |
| new | Creates a new ticket. |
| open | Re-opens a ticket. |
| remove | Removes a member to a specified ticket. |
| transcript | Transcripts a specified ticket. |
To run this project, rename example.env to .env and fill out the following values:
BOT_TOKEN = your_bot_token
BOT_PREFIX = t!
BOT_OWNER = your_discord_id
Install Node.js using chocolatey or the installer
choco install nodejs-lts --version="20.17.0"Clone the project
git clone https://github.com/zhon12345/Ticket-Bot.gitGo to the project directory
cd Ticket-BotInstall dependencies
npm installStart the bot
npm run startIf you'd like to contribute, please ensure the issue/suggestion doesn't already exists. You can create an issue or fork this repository and submit a pull request.
If you have any feedback, you can reach me on my Discord server.