Fix huge axis cult sign up filesize

This commit is contained in:
Dragon Fire
2020-03-25 10:26:19 -04:00
parent cb9e98aa01
commit 273f76053b
+1 -1
View File
@@ -72,7 +72,7 @@ module.exports = class AxisCultSignUpCommand extends Command {
ctx.fillText('Xiao', 960, 2370);
ctx.font = '123px Konosuba';
ctx.fillText('Eris pads\nher chest!', 1037, 3048);
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'axis-cult-sign-up.png' }] });
return msg.say({ files: [{ attachment: canvas.toBuffer('image/jpeg'), name: 'axis-cult-sign-up.jpg' }] });
}
};