forked from Supositware/Haha-Yes
fix picture size
This commit is contained in:
parent
7d978527da
commit
32b2b7ca07
1 changed files with 2 additions and 2 deletions
|
@ -21,9 +21,9 @@ class AvatarCommand extends Command {
|
|||
|
||||
async exec(message, args) {
|
||||
if (!args.user)
|
||||
return message.channel.send('Your avatar:', {files: [message.author.displayAvatarURL('png', '2048')]});
|
||||
return message.channel.send('Your avatar:', {files: [message.author.displayAvatarURL() + '?size=2048']});
|
||||
else
|
||||
return message.channel.send(`${args.user.username}'s avatar:`, {files: [args.user.displayAvatarURL('png', '2048')]});
|
||||
return message.channel.send(`${args.user.username}'s avatar:`, {files: [args.user.displayAvatarURL() + '?size=2048']});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue