forked from Supositware/Haha-Yes
put the text lower
This commit is contained in:
parent
eb2aeac6a7
commit
9482760b28
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ module.exports = class idubbbzCommand extends Command {
|
||||||
const ctx = canvas.getContext('2d')
|
const ctx = canvas.getContext('2d')
|
||||||
const background = await loadImage(image);
|
const background = await loadImage(image);
|
||||||
ctx.drawImage(background, 140, 30, 400, 400);
|
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);
|
const bg = await loadImage(buffer);
|
||||||
ctx.drawImage(bg, 0, 0, canvas.width, canvas.height);
|
ctx.drawImage(bg, 0, 0, canvas.width, canvas.height);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue