summaryrefslogtreecommitdiff
path: root/src/commands/fun/aesthetic.ts
blob: 54bde0c4183c5dde35d217e37940e90cf48453aa (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
28
29
30
31
32
33
import { Command, CommandoMessage } from 'discord.js-commando';
import ct from 'culturedtext';
import emoji from 'emoji-random';

module.exports = class AestheticFun extends Command {
    constructor(client) {
        super(client, {
            name: 'aesthetic',
            aliases: ['aestheticifize'],
            group: 'fun',
            memberName: 'aesthetic',
            description: 'Aestheticifizes anything you send.',
            args: [
                {
                    key: 'userMsg',
                    prompt: 'What would you like to aestheticifize?',
                    type: 'string'
                }
            ],
            examples: [
                'uwu!aesthetic please aestheticifize this'
            ],
            userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
            clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
        });
    }
    run(msg: CommandoMessage, { userMsg }) {
        var m = userMsg;
        var u1 = ct.aethstetic(m);
        msg.reply(u1 + ' ' + emoji.random());
        msg.delete();
    }
};