blob: aec2219799c2f779d685a928626ff42cf4b0cb50 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import { Command, CommandoMessage } from 'discord.js-commando';
import insult from 'insult';
import emoji from 'emoji-random';
module.exports = class InsultFun extends Command {
constructor(client) {
super(client, {
name: 'insult',
aliases: ['insults'],
group: 'fun',
memberName: 'insult',
description: 'Gives you a random insult.',
userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
examples: ['uwu!insult', 'uwu!insults']
});
}
run(msg: CommandoMessage) {
msg.reply(insult.Insult() + ' ' + emoji.random())
}
};
|