I MADE MY OWN VERSION RECODED A LOT:) CREDIT TO LUNAR FOR THE BASICS
The ticket system was made for my bot Peep so thats the reason if everything is blurple
Currently improving! Still works like this:)
djs-ticket-system
This DJS ticket system with transcripts is fully configurable, you can change the transcripts channel, tickets channel, and more! This command uses embeds, and buttons.
Dependencies:
- npm i mongoose
- npm i discord-html-transcripts
- npm i discord.js@14.3.0
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.
- Else make sure every path is right!
MongoDB Connection:
- be sure to add this to your ready.js file.
const { MongoDB } = require("MongoDB URL");
const { connect } = require("mongoose");
module.exports = {
name: "ready",
once: true,
async execute(client) {
connect(MongoDB).then(() => {
console.log(`Mongoose Connected`);
});
},
};
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.