_____ __ ______ ______ ______ ______ _____
/\ __-. /\ \ /\ ___\ /\ ___\ /\ __ \ /\ == \ /\ __-.
\ \ \/\ \\ \ \\ \___ \\ \ \____\ \ \/\ \\ \ __< \ \ \/\ \
\ \____- \ \_\\/\_____\\ \_____\\ \_____\\ \_\ \_\\ \____-
\/____/ \/_/ \/_____/ \/_____/ \/_____/ \/_/ /_/ \/____/
DiscordTicketSystem
_____ __ ______ ______ ______ ______ _____
/\ __-. /\ \ /\ ___\ /\ ___\ /\ __ \ /\ == \ /\ __-.
\ \ \/\ \\ \ \\ \___ \\ \ \____\ \ \/\ \\ \ __< \ \ \/\ \
\ \____- \ \_\\/\_____\\ \_____\\ \_____\\ \_\ \_\\ \____-
\/____/ \/_/ \/_____/ \/_____/ \/_____/ \/_/ /_/ \/____/
Key Features • How To Use • Credits • License
- Users of your Discord Server can create a support ticket with one click
- Customize your ticket system with emoji.
- Only the Staff and the user that create the ticket can read it (You need to set discord permissions).
You can build the project using Pycharm, then you need to insert your discord bot token inside the code
bot.run("Your Discord Developer Token")
Change the discord channel ID in the config file with this path
972259027276922920 973011782069260359 973005437639200818 972259028476526622
968628680089808936 973018083667087430 973016856485056643 973016680022310962
Change the message text if you want
await ticket_channel.send(
f"{payload.member.mention} Thank you for creating a ticket! Use **'-close'** to close your ticket.")
Commands:
Add a reaction to open a ticket
Send "-close'" to close the ticket
General bot commands trigger: "£"
If you need to change the bot trigger edit:
bot = commands.Bot(command_prefix="£")
bot.ticket_configs = {}
If you need to use a custom emoji for reactions:
if payload.member.id != bot.user.id and str(payload.emoji) == u"\U0001F3AB":
.
.
.
await msg.add_reaction(u"\U0001F3AB")
Host the boot on a server! you need also a discord developer account.
Note Add the bot to your discord server with admin permissions
Russo Giovanni M.
MIT