summaryrefslogtreecommitdiff
path: root/server/src/commands/bot/Invite.ts
blob: a25a20c61653c7e7234540a03b445a41f1fe515f (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 InviteBot extends Command {
    public constructor() {
        super('invite', {
            aliases: ['invite'],
            category: 'bot',
            description: {
                content: 'Gives you the bot\'s invite link.',
                usage: '',
                examples: [
                    ''
                ]
            },
            ratelimit: 3
        });
    }
    
    public exec(msg: Message): Promise<Message> {
        const embed = this.client.util.embed()
            .setColor(colour)
            .setDescription('To invite the bot, please use [this link](https://kyzer.co/discord/bots/uwufier/).');
        return msg.channel.send(embed);
    }
}