blob: ab3e47cd0fb84443adb7a97a0dfe5e50fc4a8f75 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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 u a random emoji',
throttling: {
usages: 5,
duration: 30
}
});
}
run(msg) {
msg.reply(emoji.random());
}
};
|