Skip to content

Commit

Permalink
Create help.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
wdhdev authored Oct 14, 2023
1 parent 103b665 commit d374b15
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions bot/discord/commands/ticket/help.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const Discord = require("discord.js");

exports.run = async (client, message, args) => {
let embed = new Discord.MessageEmbed()
.setAuthor(`${client.user.username} | Tickets Help`, client.user.avatarURL())
.addField(
`🎫 | Ticket Commands`,
`> ~~${config.DiscordBot.Prefix}ticket new~~ Use the \`/open\` command instead as this ticket system has been deprecated.\n> \`${config.DiscordBot.Prefix}ticket close\`\n> \`${config.DiscordBot.Prefix}ticket add\`\n> \`${config.DiscordBot.Prefix}ticket remove\`\n> \`${config.DiscordBot.Prefix}ticket upgrade\`\n> \`${config.DiscordBot.Prefix}ticket downgrade\``
)
.setThumbnail("https://cdn.discordapp.com/emojis/860696559573663815.png?v=1")
.setColor(message.guild.me.displayHexColor)
.setTimestamp();
await message.reply(embed);
};

0 comments on commit d374b15

Please sign in to comment.