discord-ticket-bot and TypeScript.
Serveur Support
ยท
Report Bug & Request Feature
discord-ticket-bot is a Discord bot specialized in managing support tickets. It allows users to create, manage, and track tickets directly from their Discord server, thus facilitating support and organization of user requests.
-
Create Discord Bot and get token and client id from Discord Developer Portal
-
Download Node.js
- Clone the AikouTicket repository:
git clone https://github.com/dawgcodes/discord-ticket-bot.git
- change the directory to AikouTicket
cd discord-ticket-bot
- Install the required packages:
npm i
or
yarn i
- Set up your environment variables:
Create a .env
file in the root directory of your project with the following variables:
or you can use the .env.example file
TOKEN= #Discord Bot Token
CLIENT_ID= #Discord Bot Client ID
ACTIVITY=/help
LOGSBOT= #ID of the channel where bot logs will be sent
DATABASE_URL = "" # Your database url (If you want to use sqlite, then you can leave it blank.).
- Set up your environment variables:
Open config.yml
to configure the settings and messages to your liking, make sure to properly configure the ticket categories
- generate the prisma client
npm run prisma:push
Run the migrations (Only if you want to migrate your database)
npm run prisma:migrate
- Run the bot:
npm start
Thank you for your interest in contributing to AikouTicket! Here are some guidelines to follow when contributing:
- Fork the repository and create a new branch for your feature or bug fix.
- Write clean and concise code that follows the established coding style.
- Create detailed and thorough documentation for any new features or changes.
- Write and run tests for your code.
- Submit a pull request with your changes.