Images inside look better now

Commando
loicbersier 6 years ago
parent 865c141b5b
commit a9907488fe

@ -55,7 +55,7 @@ module.exports = class idubbbzpaintCommand extends Command {
const ctx = canvas.getContext('2d')
const background = await loadImage(image);
ctx.drawImage(background, 140, 30, 400, 400);
ctx.drawImage(background, 140, 40, 400, 340);
const { body: buffer } = await superagent.get('https://image.noelshack.com/fichiers/2018/41/7/1539533685-untitled.png').catch(error => {
return message.say('An error as occured, please try again')
})

Loading…
Cancel
Save