mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 14:20:51 +02:00
Dexter
This commit is contained in:
@@ -38,7 +38,7 @@ module.exports = class DexterCommand extends Command {
|
||||
const generate = () => {
|
||||
ctx.drawImage(base, 0, 0);
|
||||
ctx.rotate(-10 * Math.PI / 180);
|
||||
ctx.drawImage(avatar, 279, 179, 225, 225);
|
||||
ctx.drawImage(avatar, 229, 229, 225, 225);
|
||||
ctx.rotate(10 * Math.PI / 180);
|
||||
};
|
||||
base.src = await fs.readFileAsync(path.join(__dirname, '..', '..', 'assets', 'images', 'dexter.png'));
|
||||
|
||||
Reference in New Issue
Block a user