This commit is contained in:
Elizabeth
2017-07-12 19:33:31 -05:00
parent c80caedffe
commit afe98a18a4
181 changed files with 22 additions and 1 deletions
-25
View File
@@ -1,25 +0,0 @@
const Command = require('../../structures/Command');
module.exports = class AvatarCommand extends Command {
constructor(client) {
super(client, {
name: 'avatar',
group: 'user-info',
memberName: 'avatar',
description: 'Responds with a link to a user\'s avatar.',
args: [
{
key: 'user',
prompt: 'Which user would you like to get the avatar of?',
type: 'user',
default: ''
}
]
});
}
run(msg, args) {
const user = args.user || msg.author;
return msg.say(user.displayAvatarURL({ size: 2048 }));
}
};