Make size smaller

This commit is contained in:
Dragon Fire
2024-04-24 00:32:17 -04:00
parent e113bd267c
commit ce1d76c32b
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ module.exports = class FireCommand extends Command {
}
async run(msg, { user }) {
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 512 });
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 256 });
const { body } = await request.get(avatarURL);
const avatar = await loadImage(body);
const encoder = new GIFEncoder(avatar.width, avatar.height);