Put image name the correct name

This commit is contained in:
Loic Bersier 2018-11-04 20:56:40 +01:00
parent 494e60dc11
commit a916b94769
5 changed files with 5 additions and 5 deletions

View file

@ -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')

View file

@ -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')

View file

@ -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')

View file

@ -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')

View file

@ -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')