mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 14:00:22 +02:00
canvas
This commit is contained in:
@@ -43,7 +43,7 @@ module.exports = class SteamCardCommand extends Command {
|
||||
ctx.drawImage(base, 0, 0);
|
||||
ctx.font = '30px Open Sans';
|
||||
ctx.fillStyle = 'white';
|
||||
ctx.fillText(username, 35, 50);
|
||||
ctx.fillText(username, 35, 52);
|
||||
};
|
||||
const cardImg = await request
|
||||
.get('https://i.imgur.com/JF0WwQX.png');
|
||||
|
||||
@@ -55,7 +55,7 @@ module.exports = class InfoCommand extends Command {
|
||||
[mathjs](http://mathjs.org),
|
||||
[moment](http://momentjs.com),
|
||||
[moment-duration-format](https://github.com/jsmreese/moment-duration-format),
|
||||
[jimp](https://github.com/oliver-moran/jimp),
|
||||
[canvas](https://github.com/Automattic/node-canvas),
|
||||
[cheerio](https://cheerio.js.org),
|
||||
[sequelize](http://docs.sequelizejs.com),
|
||||
[pg](https://github.com/brianc/node-postgres)
|
||||
|
||||
Reference in New Issue
Block a user