blob: 675a6f39923154a6373a06b1528e50c5bb1bc8f9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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);
}
}
|