diff options
Diffstat (limited to 'src/commands/bot/vote.ts')
| -rw-r--r-- | src/commands/bot/vote.ts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/commands/bot/vote.ts b/src/commands/bot/vote.ts new file mode 100644 index 0000000..8f64686 --- /dev/null +++ b/src/commands/bot/vote.ts @@ -0,0 +1,25 @@ +import { Command, CommandoMessage } from 'discord.js-commando'; +import { MessageEmbed } from 'discord.js'; + +module.exports = class VoteBot extends Command { + constructor(client) { + super(client, { + name: 'vote', + group: 'bot', + memberName: 'vote', + description: 'Gives you the bot\'s top.gg vote link.', + examples: ['uwu!vote'], + userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + throttling: { + usages: 5, + duration: 30 + }, + }); + } + run(msg: CommandoMessage) { + let emb = new MessageEmbed() + .setDescription('To vote, please use [this link](https://discordbots.org/bot/699473263998271489/vote). 🗳') + msg.say(emb) + } +};
\ No newline at end of file |