a
This commit is contained in:
parent
4340a2a5d3
commit
a0bb7b81eb
@ -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: {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user