Use forceStatic

This commit is contained in:
Dragon Fire
2024-09-13 15:14:27 -04:00
parent e4696e0420
commit f78c7f1154
109 changed files with 116 additions and 116 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ module.exports = class ImageOrAvatarArgument extends Argument {
const image = this.client.registry.types.get('image').parse(value, msg, arg);
if (image) return image;
const user = await this.client.registry.types.get('user').parse(value, msg, arg);
return user.displayAvatarURL({ extension: 'png', size: arg.avatarSize });
return user.displayAvatarURL({ extension: 'png', size: arg.avatarSize, forceStatic: true });
}
isEmpty(value, msg, arg) {