Skip to content

naysakiu/discord-ticketbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

You need to have Node.JS 16+

Configuraton

//config.json
{
  "clientId": "id of the bot",
  "token": "Discord bot's token",

  "parentOpened": "id of the category when a ticket is opened",
  "Category1": "Name of the first support category",
  "Category2": "Name of the second support category",
  "Category3": "Name of the third support category",
  "Category4": "Name of the fourth support category",


  "roleSupport": "id of the support team role",
  
  "logsTicket": "id of the channel for ticket logs",
  "ticketChannel": "id of the channel where the embed is sent to create a ticket"
}
  • You can change category emojis in intractionCreate.js @ line 50.
  • Make sure the ticketChannel is empty.

Deployment

node commands.js # To deploy slash commands in all the servers the bot is in
node index.js # To start the ticket-bot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published