mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 00:12:32 +02:00
More info stuffs
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
const { Command } = require('discord.js-commando');
|
||||
|
||||
module.exports = class EmojiImageCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'emoji-image',
|
||||
aliases: ['bigify-emoji', 'emoji-url', 'big-emoji'],
|
||||
group: 'guild-info',
|
||||
memberName: 'emoji-image',
|
||||
description: 'Responds with an emoji\'s full-scale image.',
|
||||
guildOnly: true,
|
||||
clientPermissions: ['ATTACH_FILES'],
|
||||
args: [
|
||||
{
|
||||
key: 'emoji',
|
||||
prompt: 'Which emoji would you like to get the image of?',
|
||||
type: 'emoji'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
run(msg, { emoji }) {
|
||||
return msg.say({ files: [emoji.url] });
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user