1
0
Fork 0

Put image name the correct name

Commando
Loic Bersier 6 years ago
parent 494e60dc11
commit a916b94769

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

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

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

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

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

Loading…
Cancel
Save