forked from Supositware/Haha-Yes
Put image name the correct name
This commit is contained in:
parent
494e60dc11
commit
a916b94769
5 changed files with 5 additions and 5 deletions
|
@ -38,7 +38,7 @@ module.exports = class fetishCommand extends Command {
|
||||||
const bg = await loadImage(buffer);
|
const bg = await loadImage(buffer);
|
||||||
ctx.drawImage(bg, 50, 50, 450, 450);
|
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(attachment).catch(error => {
|
||||||
message.say('an error as occured. Check the bot/channel permissions')
|
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);
|
const bg = await loadImage(buffer);
|
||||||
ctx.drawImage(bg, 0, 0, canvas.width, canvas.height);
|
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(attachment).catch(error => {
|
||||||
message.say('an error as occured. Check the bot/channel permissions')
|
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);
|
const bg = await loadImage(buffer);
|
||||||
ctx.drawImage(bg, 420, 120, 150, 150);
|
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(attachment).catch(error => {
|
||||||
message.say('an error as occured. Check the bot/channel permissions')
|
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);
|
const bg = await loadImage(buffer);
|
||||||
ctx.drawImage(bg, 0, 0, canvas.width, canvas.height);
|
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(attachment).catch(error => {
|
||||||
message.say('an error as occured. Check the bot/channel permissions')
|
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);
|
const bg = await loadImage(buffer);
|
||||||
ctx.drawImage(bg, 40, 100, 250, 250);
|
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(attachment).catch(error => {
|
||||||
message.say('an error as occured. Check the bot/channel permissions')
|
message.say('an error as occured. Check the bot/channel permissions')
|
||||||
|
|
Loading…
Reference in a new issue