From a916b9476996c2025f9a6ded63e1c0824cc88f6b Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Sun, 4 Nov 2018 20:56:40 +0100 Subject: [PATCH] Put image name the correct name --- commands/images/fetish.js | 2 +- commands/images/god.js | 2 +- commands/images/human.js | 2 +- commands/images/like.js | 2 +- commands/images/ugly.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/commands/images/fetish.js b/commands/images/fetish.js index 74f55ec3..20267b4d 100644 --- a/commands/images/fetish.js +++ b/commands/images/fetish.js @@ -38,7 +38,7 @@ module.exports = class fetishCommand extends Command { const bg = await loadImage(buffer); ctx.drawImage(bg, 50, 50, 450, 450); - const attachment = new Discord.Attachment(canvas.toBuffer(), 'edupspaint.png'); + const attachment = new Discord.Attachment(canvas.toBuffer(), 'myfetish.png'); message.say(attachment).catch(error => { message.say('an error as occured. Check the bot/channel permissions') diff --git a/commands/images/god.js b/commands/images/god.js index 58b054ff..1b92dfbc 100644 --- a/commands/images/god.js +++ b/commands/images/god.js @@ -38,7 +38,7 @@ module.exports = class godCommand extends Command { const bg = await loadImage(buffer); ctx.drawImage(bg, 0, 0, canvas.width, canvas.height); - const attachment = new Discord.Attachment(canvas.toBuffer(), 'edupspaint.png'); + const attachment = new Discord.Attachment(canvas.toBuffer(), 'god.png'); message.say(attachment).catch(error => { message.say('an error as occured. Check the bot/channel permissions') diff --git a/commands/images/human.js b/commands/images/human.js index ed411a09..579cdb5f 100644 --- a/commands/images/human.js +++ b/commands/images/human.js @@ -38,7 +38,7 @@ module.exports = class humanCommand extends Command { const bg = await loadImage(buffer); ctx.drawImage(bg, 420, 120, 150, 150); - const attachment = new Discord.Attachment(canvas.toBuffer(), 'edupspaint.png'); + const attachment = new Discord.Attachment(canvas.toBuffer(), 'human.png'); message.say(attachment).catch(error => { message.say('an error as occured. Check the bot/channel permissions') diff --git a/commands/images/like.js b/commands/images/like.js index 831c63db..b73f923b 100644 --- a/commands/images/like.js +++ b/commands/images/like.js @@ -38,7 +38,7 @@ module.exports = class likeCommand extends Command { const bg = await loadImage(buffer); ctx.drawImage(bg, 0, 0, canvas.width, canvas.height); - const attachment = new Discord.Attachment(canvas.toBuffer(), 'edupspaint.png'); + const attachment = new Discord.Attachment(canvas.toBuffer(), 'like.png'); message.say(attachment).catch(error => { message.say('an error as occured. Check the bot/channel permissions') diff --git a/commands/images/ugly.js b/commands/images/ugly.js index 88b9a7ba..0bbf8669 100644 --- a/commands/images/ugly.js +++ b/commands/images/ugly.js @@ -38,7 +38,7 @@ module.exports = class uglyCommand extends Command { const bg = await loadImage(buffer); ctx.drawImage(bg, 40, 100, 250, 250); - const attachment = new Discord.Attachment(canvas.toBuffer(), 'edupspaint.png'); + const attachment = new Discord.Attachment(canvas.toBuffer(), 'ugly.png'); message.say(attachment).catch(error => { message.say('an error as occured. Check the bot/channel permissions')