mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
New Thug Life Background
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 40 KiB |
@@ -39,7 +39,7 @@ module.exports = class ThugLifeCommand extends Command {
|
||||
const { body } = await snekfetch.get(avatarURL);
|
||||
const avatar = await loadImage(body);
|
||||
ctx.drawImage(avatar, 0, 0, 256, 256);
|
||||
ctx.drawImage(base, 28, 204, 200, 42);
|
||||
ctx.drawImage(base, 15, 175, 225, 75);
|
||||
const imgData = ctx.getImageData(0, 0, 256, 256);
|
||||
const { data } = imgData;
|
||||
for (let i = 0; i < data.length; i += 4) {
|
||||
|
||||
Reference in New Issue
Block a user