summaryrefslogtreecommitdiff
path: root/server/src/commands/fun/PayRespects.ts
blob: a7c9c68c39f9ce0c847be581859fad4c4abc25f8 (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
import { Command } from 'discord-akairo';
import { Message } from 'discord.js';
import { MessageReaction } from 'discord.js';

export default class PayRespectsFun extends Command {
    public constructor() {
        super('payrespects', {
            aliases: ['payrespects', 'respect', 'f'],
            category: 'fun',
            description: {
                content: 'Press F to pay respects.',
                usage: '',
                examples: [
                    ''
                ]
            },
            ratelimit: 3
        });
    }
    
    public exec(msg: Message): Promise<Message | MessageReaction> {
        return msg.channel.send('Press F to pay respects').then(m => m.react('🇫'));
    }
}