AikouTicket and TypeScript.
Serveur Support
·
Report Bug & Request Feature
AikouTicket 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/LucasB25/AikouTicket.git
- change the directory to AikouTicket
cd AikouTicket
- 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 db:push
Run the migrations (Only if you want to migrate your database)
npm run db: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.
Your contribution will be reviewed by the project maintainers, and any necessary feedback or changes will be discussed with you. We appreciate your help in making AikouTicket better!
Thanks goes to these wonderful people :