blob: ca633b96066934ec6a9ee7a45fcb03574ddfe195 (
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
|
const emoji = require('emoji-random');
const { Command } = require('discord.js-commando');
module.exports = class EmojiFun extends Command {
constructor(client) {
super(client, {
name: 'emoji',
aliases: ['moji'],
group: 'fun',
memberName: 'emoji',
description: 'Gives you a random emoji.' + emoji.random(),
throttling: {
usages: 5,
duration: 30
},
examples: ['uwu!emoji', 'uwu!moji'],
userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY']
});
}
run(msg) {
msg.reply(emoji.random());
}
};
|