README
Discord Tickets
A very easy to use discord ticket system and contains 3 types of ticket! Uses discord.js v13.
Installation
Use the package manager npm to install Discord Tickets.
npm i @ishandev2005/discord-tickets
Usage
- Ticket system with buttons:
const tics = require("@ishandev2005/discord-tickets");
// message Create event
tics.bTicket(msg); //required
// msg: Your message property.
//interactionCreate event (required)
if (button.isButton()) {
tics.interactionCreate(button);
}
// button: Your interaction listner. (can be anything)
- Ticket system with threads:
const tics = require("@ishandev2005/discord-tickets");
// message Create event
tics.threadTicket(msg, {
embedcolor: "GREEN", //optional
});
// msg: Your message property.
//interactionCreate event (required)
if (button.isSelectMenu()) {
tics.interactionCreate(button);
}
// button: Your interaction listner. (can be anything)
- Ticket system with discord menus:
const tics = require("@ishandev2005/discord-tickets");
// message Create event
tics.mTicket(msg, {
embedcolor: "RED", //optional
});
// msg: Your message listner.
//interactionCreate event (required)
if (button.isSelectMenu()) {
tics.menuInteraction(button);
}
// button: Your interaction listner. (can be anything)
NOTE
Ticket system with threads is ONLY awalaible for guilds with level 2 or 3 boosts. I know discord is....
ps: thread system credits: FireDragonPlays and menu system credits: George
Example bot: here
Support
Nope but you can join my youtube server for help: Join here
My youtube channel if you want to learn discord.js: Sub here
License
discord-tickets npm licensed under the terms of Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International ("CC-BY-NC-SA-4.0"). Commercial use is not allowed under this license. This includes any kind of revenue made with or based upon the software, even donations.
The CC-BY-NC-SA-4.0 allows you to:
- Share -- copy and redistribute the material in any medium or format
- Adapt -- remix, transform, and build upon the material
Under the following terms:
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- NonCommercial — You may not use the material for commercial purposes.
- ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
More information can be found here.