ticketSystem
A Faster yet Powerful ticketSystem | Requires: manageBtn()
Program
- Javascript
- Typescript
const simplydjs = require("simply-djs");
import simplydjs from "simply-djs";
simplydjs.ticketSystem(interaction, {
channelId: '01234567890123' // channelId (required)
// options (optional)
})
Output
Arguments:
simplydjs.ticketSystem(
interaction: Discord.Message | Discord.CommandInteraction,
options: tSysOptions
)
- interaction
Discord.Message
|Discord.CommandInteraction
- options:
tSysOptions
Options tSysOptions
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
channelId | Channel ID | ✅ | none | Channel ID of a Discord TextChannel |
button | btnTemplate | ❌ | default button | Pass a btnTemplate Object to customize the button |
embed | CustomizableEmbed | ❌ | default embed | Pass a CustomizableEmbed Object to customize the embed |