This is an simple ticket system bot using discord.js v13. If you find an error or need support, go to my discord server and open a ticket > Discord Server Here
- Node v17
- npm
You need to have Node.JS 17+
git clone https://github.com/Expectatives/Ticket-bot.git
cd Ticket-bot
npm i
-
Step 1: Go to Discord Developer Portal> My Applications
-
Step 2: Click on the "New Application" button:
- Step 3: Write the "name of your Bot" and click the "Create" button:
- Step 4: Go to the "Bot" category:
- Step 5: Click on the "Add Bot" button:
- Step 6: Click on the "Copy" button, this to copy the Bot Token:
- Step 7: Edit
.env.example
file and paste your bot token. - Step 8: Rename
.env.example
to.env
. - Step 9: Edit the
config.js
file to your liking. - Step 10: Install bot dependencies with
npm i
. - Step 11: Start the bot with
npm start
!
- Step 1: Go to your application, then click on "OAuth2" and go to the session "URL Generator":
- Step 2: Here you have to select the permissions of your Bot, in SCOPES first select "Bot" and "applications.commands", then in BOT PERMISSIONS select "Administrator" and then below you will receive the invitation of your bot click on the "Copy" button
- Step 3: Paste the link of the invitation of your bot that you copy in a tab of your browser, then select the server and give the button "Continue" then the button "Authorize", after this complete the capcha and the bot would already be inside your server!