mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 14:18:36 +02:00
Display channel name right
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ class ImageArgumentType extends ArgumentType {
|
||||
if (!msg.attachments.size) {
|
||||
return this.client.registry.types.get('user').parse(value, msg).displayAvatarURL({
|
||||
format: 'png',
|
||||
size: arg.avatarSize || 512
|
||||
size: 512
|
||||
});
|
||||
}
|
||||
return msg.attachments.first().url;
|
||||
|
||||
Reference in New Issue
Block a user