- Discord.js v13 (
npm install discord.js@latest
) application.commands
scope enabled for your bot in Developer Portal (For Slash Cmds)- NodeJS v16.6 or higher
- Basic knowledge of JavaScript or Discord.js
- Click Here or open your terminal and type
git clone https://github.com/Simpleboy353/Tickets-Bot.git
npm install
- Fill the required values in the
config.json
file
{
"ownerID": "bot owner's id",
"token": "bot token",
"dburl": "mongo db url"
}
- Enter your ID in the
ownerID
field - Enter your bot token in
token
field - Enter the MongoDB url in
dburl
field
npm start
node .
node index.js