diff options
Diffstat (limited to 'src/commands/fun/emoji.js')
| -rw-r--r-- | src/commands/fun/emoji.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/commands/fun/emoji.js b/src/commands/fun/emoji.js new file mode 100644 index 0000000..027cd55 --- /dev/null +++ b/src/commands/fun/emoji.js @@ -0,0 +1,22 @@ +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 + }, + examples: ['s5n!emoji', 's5n!moji'] + }); + } + run(msg) { + msg.reply(emoji.random()); + } +};
\ No newline at end of file |