put the text lower

This commit is contained in:
loicbersier 2018-10-14 18:32:16 +02:00
parent eb2aeac6a7
commit 9482760b28

View file

@ -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);