Global Ticket System V2
Ticket system v2, many new and improved features. Optimized code.
Dependencies:
- mongoose =>
npm i mongoose
- dotenv =>
npm i dotenv
- discord-html-transcripts =>
npm i discord-html-transcripts
Instructions:
- Place the command into your commands folder.
- Create a new folder in the bot root direcatory and name it "schemas", and than place the schema in there.
- Change all the paths to the right ones if needed.
- Place the event into your events folder.
MongoDB Connection:
- be sure to add this to your ready.js file. Also add
async
before theexecute
in your ready file.
// Add this to the top of the file
const { connect } = require('mongoose')
// Add this to your ready.js file
await connect(MONGO_URI)
.then(() => {
console.log(`✅ >>> Successfully connected to MongoDB!`);
})
.catch((err) => {
console.log(err);
});
Preview
Panel
Ticket Panel
Closed Ticket Message
Contributing:
if you want to contribute create a fork of this project and when you are done editing it update the fork and create a pull request.