diff --git a/commands/avatar-edit/3000-years.js b/commands/avatar-edit/3000-years.js index ff95d7a6..f4850944 100644 --- a/commands/avatar-edit/3000-years.js +++ b/commands/avatar-edit/3000-years.js @@ -28,7 +28,6 @@ module.exports = class YearsCommand extends Command { } async run(msg, { user }) { - if (!user) user = msg.author; const avatarURL = user.displayAvatarURL({ format: 'png', size: 256 }); try { const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', '3000-years.png')); diff --git a/commands/avatar-edit/rainbow.js b/commands/avatar-edit/rainbow.js index 98aa7d83..2e01c402 100644 --- a/commands/avatar-edit/rainbow.js +++ b/commands/avatar-edit/rainbow.js @@ -28,7 +28,6 @@ module.exports = class RainbowCommand extends Command { } async run(msg, { user }) { - if (!user) user = msg.author; const avatarURL = user.displayAvatarURL({ format: 'png', size: 512 }); try { const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'rainbow.png')); diff --git a/commands/random/guess-looks.js b/commands/random/guess-looks.js index 1fb1238d..39a82fa3 100644 --- a/commands/random/guess-looks.js +++ b/commands/random/guess-looks.js @@ -24,7 +24,6 @@ module.exports = class GuessLooksCommand extends Command { } run(msg, { user }) { - if (!user) user = msg.author; const gender = genders[Math.floor(Math.random() * genders.length)]; const eyeColor = eyeColors[Math.floor(Math.random() * eyeColors.length)]; const hairColor = hairColors[Math.floor(Math.random() * hairColors.length)];