Skip to content
This repository has been archived by the owner on Dec 25, 2021. It is now read-only.

not-ivy/OpenTicket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenTicket

To run the bot:

Create a config.json file, containing your token and desired prefix:

{
  "token": "",
  "prefix": "'",
  "disallowInThreads": true, // Bot does not respond commands in threads
  "disallowBotMessages": true, // Bot does not respond commands sent by other bots
  "notifyRoles": [ // roles to ping when a new ticket is created
    "865267952458006570",
    "869252570672140308"
  ]
}

Create another file named database.json with the following content:

{"ticketCount":0}

Then run:

yarn build
yarn start