Fix undefined

This commit is contained in:
Dragon Fire
2020-05-22 18:37:50 -04:00
parent f2fecd9d6b
commit c1fd82d2d1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ module.exports = class ChineseRestaurantCommand extends Command {
ctx.fillText(lines[0], base.width / 2, 261);
ctx.fillText(lines[1], base.width / 2, 288);
ctx.fillText(lines[2], base.width / 2, 315);
ctx.fillText(lines[4], base.width / 2, 342);
ctx.fillText(lines[3], base.width / 2, 342);
}
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'chinese-restaurant.png' }] });
}
+1 -1
View File
@@ -64,7 +64,7 @@ module.exports = class HighwaySignCommand extends Command {
ctx.fillText(lines[0], 318, 90);
ctx.fillText(lines[1], 318, 109);
ctx.fillText(lines[2], 318, 128);
ctx.fillText(lines[4], 318, 147);
ctx.fillText(lines[3], 318, 147);
}
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'highway-sign.png' }] });
}