diff options
Diffstat (limited to 'server/src/commands/bot/Donate.ts')
| -rw-r--r-- | server/src/commands/bot/Donate.ts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/server/src/commands/bot/Donate.ts b/server/src/commands/bot/Donate.ts new file mode 100644 index 0000000..675a6f3 --- /dev/null +++ b/server/src/commands/bot/Donate.ts @@ -0,0 +1,27 @@ +import { Command } from 'discord-akairo'; +import { Message } from 'discord.js'; +import { colour } from '../../Config'; + +export default class DonateBot extends Command { + public constructor() { + super('donate', { + aliases: ['donate'], + category: 'bot', + description: { + content: 'Gives you the bot\'s donation link.', + usage: '', + examples: [ + '' + ] + }, + ratelimit: 3 + }); + } + + public exec(msg: Message): Promise<Message> { + const embed = this.client.util.embed() + .setColor(colour) + .setDescription('To donate, please use [this link](https://cash.app/$shiftknob).'); + return msg.channel.send(embed); + } +}
\ No newline at end of file |