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
+2 -2
View File
@@ -30,8 +30,8 @@ module.exports = class AvatarFusionCommand extends Command {
}
async run(msg, { overlay, base }) {
const baseAvatarURL = base.displayAvatarURL({ extension: 'png', size: 512 });
const overlayAvatarURL = overlay.displayAvatarURL({ extension: 'png', size: 512 });
const baseAvatarURL = base.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true });
const overlayAvatarURL = overlay.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true });
const baseAvatarData = await request.get(baseAvatarURL);
const baseAvatar = await loadImage(baseAvatarData.body);
const overlayAvatarData = await request.get(overlayAvatarURL);
+1 -1
View File
@@ -49,7 +49,7 @@ module.exports = class EjectCommand extends Command {
}
async run(msg, { user }) {
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 128 });
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 128, forceStatic: true });
const { body } = await request.get(avatarURL);
const avatar = await loadImage(body);
const random = MersenneTwister19937.seed(user.id);
+1 -1
View File
@@ -139,7 +139,7 @@ module.exports = class HatCommand extends Command {
async run(msg, { type, user }) {
if (type === 'random') type = hatsKeys[Math.floor(Math.random() * hatsKeys.length)];
const hat = hats[type];
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 512 });
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true });
const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'hat', hat.file));
const { body } = await request.get(avatarURL);
const avatar = await loadImage(body);
+1 -1
View File
@@ -36,7 +36,7 @@ module.exports = class HeLivesInYouCommand extends Command {
}
async run(msg, { user }) {
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 256 });
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true });
const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'he-lives-in-you.png'));
const { body } = await request.get(avatarURL);
const avatar = await loadImage(body);
+1 -1
View File
@@ -36,7 +36,7 @@ module.exports = class HeartsCommand extends Command {
}
async run(msg, { user }) {
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 512 });
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true });
const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'hearts.png'));
const { body } = await request.get(avatarURL);
const avatar = await loadImage(body);
+1 -1
View File
@@ -34,7 +34,7 @@ module.exports = class IHaveThePowerCommand extends Command {
}
async run(msg, { user }) {
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 256 });
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true });
const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'i-have-the-power.png'));
const { body } = await request.get(avatarURL);
const avatar = await loadImage(body);
+1 -1
View File
@@ -53,7 +53,7 @@ module.exports = class RipCommand extends Command {
const createdYear = user.createdAt.getFullYear();
cause = `${createdYear}-${currentYear}`;
}
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 512 });
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true });
const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'rip.png'));
const { body } = await request.get(avatarURL);
const avatar = await loadImage(body);
+1 -1
View File
@@ -45,7 +45,7 @@ module.exports = class SteamNowPlayingCommand extends Command {
}
async run(msg, { game, user }) {
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 64 });
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 64, forceStatic: true });
const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'steam-now-playing.png'));
const { body } = await request.get(avatarURL);
const avatar = await loadImage(body);
+1 -1
View File
@@ -40,7 +40,7 @@ module.exports = class TriggeredCommand extends Command {
}
async run(msg, { user }) {
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 512 });
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true });
const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'triggered.png'));
const { body } = await request.get(avatarURL);
const avatar = await loadImage(body);
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class ApprovedCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -18,7 +18,7 @@ module.exports = class AsciiCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -27,7 +27,7 @@ module.exports = class BlurCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -35,7 +35,7 @@ module.exports = class BobRossCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -28,7 +28,7 @@ module.exports = class BrazzersCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -27,7 +27,7 @@ module.exports = class CharcoalCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -21,7 +21,7 @@ module.exports = class ChocolateMilkCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 1024,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024, forceStatic: true })
},
{
key: 'direction',
+1 -1
View File
@@ -20,7 +20,7 @@ module.exports = class CircleCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class CommunistCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -20,7 +20,7 @@ module.exports = class ContrastCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -25,7 +25,7 @@ module.exports = class DesaturateCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -28,7 +28,7 @@ module.exports = class DexterCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 256,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true })
}
]
});
+1 -1
View File
@@ -24,7 +24,7 @@ module.exports = class DistortCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -27,7 +27,7 @@ module.exports = class EmbossCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class FireFrameCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -34,7 +34,7 @@ module.exports = class FishEyeCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -37,7 +37,7 @@ module.exports = class FrameCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -19,7 +19,7 @@ module.exports = class GhostCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = class GlassShatterCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -20,7 +20,7 @@ module.exports = class GlitchCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -21,7 +21,7 @@ module.exports = class GreyscaleCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -28,7 +28,7 @@ module.exports = class GunCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = class HandsCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -27,7 +27,7 @@ module.exports = class IfunnyCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -33,7 +33,7 @@ module.exports = class ImplodeCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -20,7 +20,7 @@ module.exports = class InvertCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -35,7 +35,7 @@ module.exports = class LegoIconCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -28,7 +28,7 @@ module.exports = class LiquidRescaleCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -26,7 +26,7 @@ module.exports = class MirrorCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -21,7 +21,7 @@ module.exports = class MotionBlurCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -27,7 +27,7 @@ module.exports = class NeedsMoreJpegCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -35,7 +35,7 @@ module.exports = class NoiseCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -28,7 +28,7 @@ module.exports = class OilPaintingCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -21,7 +21,7 @@ module.exports = class OldPhotoCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -23,7 +23,7 @@ module.exports = class PetCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 128,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 128 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 128, forceStatic: true })
}
]
});
+1 -1
View File
@@ -21,7 +21,7 @@ module.exports = class PixelizeCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class PoliceTapeCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -21,7 +21,7 @@ module.exports = class RainbowCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class RejctedCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class ResizeCommand extends Command {
{
key: 'image',
type: 'image-or-avatar',
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 2048 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 2048, forceStatic: true })
}
]
});
+1 -1
View File
@@ -25,7 +25,7 @@ module.exports = class RotateCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -20,7 +20,7 @@ module.exports = class SepiaCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -27,7 +27,7 @@ module.exports = class ShakeCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -20,7 +20,7 @@ module.exports = class SilhouetteCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = class SipCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 1024,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024, forceStatic: true })
},
{
key: 'direction',
+1 -1
View File
@@ -32,7 +32,7 @@ module.exports = class SketchCommand extends Command {
type: 'image-or-avatar',
maxAttachmentSize: 2e+6,
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -38,7 +38,7 @@ module.exports = class SnapchatCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -32,7 +32,7 @@ module.exports = class SpaghettiCommand extends Command {
type: 'image-or-avatar',
maxAttachmentSize: 2e+6,
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -50,7 +50,7 @@ module.exports = class SpotifyNowPlayingCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 256,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true })
}
]
});
+1 -1
View File
@@ -19,7 +19,7 @@ module.exports = class SquareCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -34,7 +34,7 @@ module.exports = class SquishCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -46,7 +46,7 @@ module.exports = class SteamCardCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 256,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true })
}
]
});
+1 -1
View File
@@ -34,7 +34,7 @@ module.exports = class SubtitleCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -33,7 +33,7 @@ module.exports = class SwirlCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -25,7 +25,7 @@ module.exports = class TintCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -21,7 +21,7 @@ module.exports = class TransCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -20,7 +20,7 @@ module.exports = class VignetteCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class WantedCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -40,7 +40,7 @@ module.exports = class WildPokemonCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 128,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 128 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 128, forceStatic: true })
}
]
});
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = class YouDiedCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = class ThreeThousandYearsCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 256,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true })
}
]
});
+1 -1
View File
@@ -40,7 +40,7 @@ module.exports = class BeautifulCommand extends Command {
}
async run(msg, { user }) {
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 128 });
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 128, forceStatic: true });
const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'beautiful.png'));
const { body } = await request.get(avatarURL);
const avatar = await loadImage(body);
+1 -1
View File
@@ -31,7 +31,7 @@ module.exports = class BottomTextCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -102,7 +102,7 @@ module.exports = class ChallengerCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class CrushCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -20,7 +20,7 @@ module.exports = class DeepFryCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -40,7 +40,7 @@ module.exports = class DemotivationalCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = class DislikeCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 1024,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024, forceStatic: true })
}
]
});
+3 -3
View File
@@ -43,9 +43,9 @@ module.exports = class DistractedBoyfriendCommand extends Command {
}
async run(msg, { otherGirl, girlfriend, boyfriend }) {
const boyfriendAvatarURL = boyfriend.displayAvatarURL({ extension: 'png', size: 256 });
const girlfriendAvatarURL = girlfriend.displayAvatarURL({ extension: 'png', size: 256 });
const otherGirlAvatarURL = otherGirl.displayAvatarURL({ extension: 'png', size: 256 });
const boyfriendAvatarURL = boyfriend.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true });
const girlfriendAvatarURL = girlfriend.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true });
const otherGirlAvatarURL = otherGirl.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true });
const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'distracted-boyfriend.png'));
const boyfriendAvatarData = await request.get(boyfriendAvatarURL);
const boyfriendAvatar = await loadImage(boyfriendAvatarData.body);
+1 -1
View File
@@ -35,7 +35,7 @@ module.exports = class EnslavedCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 256,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true })
}
]
});
+1 -1
View File
@@ -36,7 +36,7 @@ module.exports = class FoodBrokeCommand extends Command {
}
async run(msg, { user }) {
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 128 });
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 128, forceStatic: true });
const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'food-broke.png'));
const { body } = await request.get(avatarURL);
const avatar = await loadImage(body);
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = class ForFiveHoursCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 1024,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024, forceStatic: true })
}
]
});
@@ -36,7 +36,7 @@ module.exports = class GirlWorthFightingForCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 256,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true })
}
]
});
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class IFearNoManCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 256,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true })
}
]
});
+1 -1
View File
@@ -34,7 +34,7 @@ module.exports = class KyonGunCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = class LikeCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 1024,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024, forceStatic: true })
}
]
});
@@ -29,7 +29,7 @@ module.exports = class LookAtThisPhotographCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 256,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true })
}
]
});
+1 -1
View File
@@ -35,7 +35,7 @@ module.exports = class LookWhatKarenHaveCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -41,7 +41,7 @@ module.exports = class MemeGenCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -41,7 +41,7 @@ module.exports = class MetamorphosisCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 256,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true })
}
]
});
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class MyCollectionGrowsCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 256,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true })
}
]
});
+1 -1
View File
@@ -45,7 +45,7 @@ module.exports = class NikeAdCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -33,7 +33,7 @@ module.exports = class ReactionMemeCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 1024,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024, forceStatic: true })
}
]
});
+1 -1
View File
@@ -23,7 +23,7 @@ module.exports = class SexySinglesCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 1024,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024, forceStatic: true })
}
]
});
+1 -1
View File
@@ -41,7 +41,7 @@ module.exports = class SkyrimSkillCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 1024,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 1024, forceStatic: true })
}
]
});
+1 -1
View File
@@ -35,7 +35,7 @@ module.exports = class SoraSelfieCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class ThisGuyCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 256,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true })
}
]
});
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class ThugLifeCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = class ToBeContinuedCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 512,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 512, forceStatic: true })
}
]
});
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class UglyCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 256,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true })
}
]
});
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class UltimateTattooCommand extends Command {
key: 'image',
type: 'image-or-avatar',
avatarSize: 256,
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256 })
default: msg => msg.author.displayAvatarURL({ extension: 'png', size: 256, forceStatic: true })
}
]
});

Some files were not shown because too many files have changed in this diff Show More