This commit is contained in:
Erik 2020-08-16 00:23:37 +03:00
parent 4340a2a5d3
commit a0bb7b81eb
2 changed files with 3 additions and 3 deletions

View File

@ -110,8 +110,8 @@ class UserCommand extends Command {
response = {
author: {
name: Util.escapeMarkdown(user.tag),
icon_url: user.displayAvatarURL() //eslint-disable-line camelcase
name: Util.escapeMarkdown(user.tag)
// icon_url: user.displayAvatarURL() //eslint-disable-line camelcase
},
description: response,
thumbnail: {

View File

@ -41,7 +41,7 @@ class AvatarCommand extends Command {
if (!user) user = message.author;
let avatar = null;
try {
avatar = user.displayAvatarURL({ format: args.format?.value || 'webp', size: args.size?.value || 128, dynamic: true });
avatar = user.displayAvatarURL({ format: args.format?.value || 'webp', size: args.size?.value || 256, dynamic: true });
} catch(error) {
message.respond(message.format('C_AVATAR_FORMATERROR'), { emoji: 'failure' });
return undefined;