diff --git a/commands/avataredit/3000years.js b/commands/avataredit/3000years.js index 63fed554..5d52b0ab 100644 --- a/commands/avataredit/3000years.js +++ b/commands/avataredit/3000years.js @@ -35,7 +35,7 @@ module.exports = class YearsCommand extends Command { const [avatar, years] = await Promise.all(images); avatar.resize(200, 200); years.blit(avatar, 461, 127); - return years.getBuffer(Jimp.MIME_PNG, (err, buff) => { + years.getBuffer(Jimp.MIME_PNG, (err, buff) => { if (err) return message.say(':x: Error! Something went wrong!'); return message.channel.send({file: buff}); }); diff --git a/commands/avataredit/beautiful.js b/commands/avataredit/beautiful.js index 84aec717..8d55a546 100644 --- a/commands/avataredit/beautiful.js +++ b/commands/avataredit/beautiful.js @@ -37,7 +37,7 @@ module.exports = class BeautifulCommand extends Command { beautiful.blit(avatar, 432, 42); avatar.resize(190, 190); beautiful.blit(avatar, 451, 434); - return beautiful.getBuffer(Jimp.MIME_PNG, (err, buff) => { + beautiful.getBuffer(Jimp.MIME_PNG, (err, buff) => { if (err) return message.say(':x: Error! Something went wrong!'); return message.channel.send({file: buff}); }); diff --git a/commands/avataredit/bobross.js b/commands/avataredit/bobross.js index fc13c255..4a582dd4 100644 --- a/commands/avataredit/bobross.js +++ b/commands/avataredit/bobross.js @@ -39,7 +39,7 @@ module.exports = class BobRossCommand extends Command { avatar.resize(300, 300); nothing.composite(avatar, 44, 85); nothing.composite(bob, 0, 0); - return nothing.getBuffer(Jimp.MIME_PNG, (err, buff) => { + nothing.getBuffer(Jimp.MIME_PNG, (err, buff) => { if (err) return message.say(':x: Error! Something went wrong!'); return message.channel.send({file: buff}); }); diff --git a/commands/avataredit/rip.js b/commands/avataredit/rip.js index 6ff2b5d8..892b7f32 100644 --- a/commands/avataredit/rip.js +++ b/commands/avataredit/rip.js @@ -36,7 +36,7 @@ module.exports = class RIPCommand extends Command { const [avatar, gravestone] = await Promise.all(images); avatar.resize(200, 200); gravestone.blit(avatar, 60, 65); - return gravestone.getBuffer(Jimp.MIME_PNG, (err, buff) => { + gravestone.getBuffer(Jimp.MIME_PNG, (err, buff) => { if (err) return message.say(':x: Error! Something went wrong!'); return message.channel.send({file: buff}); }); diff --git a/commands/avataredit/steamcard.js b/commands/avataredit/steamcard.js index f986fe51..17fb80d8 100644 --- a/commands/avataredit/steamcard.js +++ b/commands/avataredit/steamcard.js @@ -40,7 +40,7 @@ module.exports = class SteamCardCommand extends Command { nothing.composite(avatar, 25, 25); nothing.composite(steamcard, 0, 0); nothing.print(font, 38, 20, userDisplayName); - return nothing.getBuffer(Jimp.MIME_PNG, (err, buff) => { + nothing.getBuffer(Jimp.MIME_PNG, (err, buff) => { if (err) return message.say(':x: Error! Something went wrong!'); return message.channel.send({file: buff}); });