From a0bb7b81ebd3a16ef712cbc61db5c051f496972f Mon Sep 17 00:00:00 2001 From: Navy Date: Sun, 16 Aug 2020 00:23:37 +0300 Subject: [PATCH] a --- structure/client/components/commands/information/User.js | 4 ++-- structure/client/components/commands/utility/Avatar.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/structure/client/components/commands/information/User.js b/structure/client/components/commands/information/User.js index 88141f6..43b1c88 100644 --- a/structure/client/components/commands/information/User.js +++ b/structure/client/components/commands/information/User.js @@ -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: { diff --git a/structure/client/components/commands/utility/Avatar.js b/structure/client/components/commands/utility/Avatar.js index 6a159cc..1632b39 100644 --- a/structure/client/components/commands/utility/Avatar.js +++ b/structure/client/components/commands/utility/Avatar.js @@ -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;