Skip to content

muralianand12345/Discord-Ticket-Roleplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Ticket Bot

An advanced Ticket Bot for Roleplay servers

Table of Contents

Bot Features

  • Multi-Guild bot, can be used to do ticket supporting on multiple servers.
  • Reopen and claim ticket feature.
  • Ticket logging and hosting.
  • And more ...

Software and Applications used

  • NodeJS (Typescript)
  • MongoDB
  • Yarn (alternative for NPM)

Before you start

  • Make sure you have installed NodeJS v16 or above in your system.
  • Install all necessary packages:
npm i -g yarn typescript

Installation:

  • Rename .env.example to .env and fill all the necessary credentials.
  • Type the following in your terminal:
yarn --production
tsc
  • Go to /build/config/config.json file and fill in all the necessary credentials.
  • To run the application, just type node . in your terminal.

About Code:

Common Bugs:

[ERROR] [Error: ENOENT: no such file or directory, open 'C:\Users\username\path\Discord-Ticket-Bot\build\events\website\ticket-logs\transcript-123456789.html'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'C:\Users\username\path\Discord-Ticket-Bot\build\events\website\ticket-logs\transcript-123456789.html'
}
  • Answer: Create ticket-logs folder in Discord-Ticket-Bot\build\events\website directory.

Developer

  • Murali Anand (murlee#0)

Page Up