Display channel name right

This commit is contained in:
Daniel Odendahl Jr
2018-03-17 13:24:31 +00:00
parent d74e2c9d96
commit e74e8ce171
4 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -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;