forked from Supositware/Haha-Yes
16 lines
No EOL
539 B
JavaScript
16 lines
No EOL
539 B
JavaScript
const { Command } = require('discord.js-commando');
|
|
module.exports = class listEmoteCommand extends Command {
|
|
constructor(client) {
|
|
super(client, {
|
|
name: 'listemote',
|
|
group: 'utility',
|
|
memberName: 'listemote',
|
|
description: `List the emotes available on the server`,
|
|
});
|
|
}
|
|
|
|
async run(message) {
|
|
const emojiList = message.guild.emojis.map((e, x) => (x + ' = ' + e) + ' | ' +e.name).join('\n');
|
|
message.channel.send(emojiList);
|
|
}
|
|
}; |