put the text lower

Commando
loicbersier 6 years ago
parent eb2aeac6a7
commit 9482760b28

@ -28,7 +28,7 @@ module.exports = class idubbbzCommand extends Command {
const ctx = canvas.getContext('2d')
const background = await loadImage(image);
ctx.drawImage(background, 140, 30, 400, 400);
const { body: buffer } = await superagent.get('https://image.noelshack.com/fichiers/2018/41/7/1539534415-untitled.png');
const { body: buffer } = await superagent.get('https://image.noelshack.com/fichiers/2018/41/7/1539534719-untitled.png');
const bg = await loadImage(buffer);
ctx.drawImage(bg, 0, 0, canvas.width, canvas.height);

Loading…
Cancel
Save