mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Higher quality catch images
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 83 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 90 KiB |
@@ -54,9 +54,9 @@ module.exports = class CatchCommand extends Command {
|
||||
ctx.textBaseline = 'top';
|
||||
ctx.fillStyle = 'red';
|
||||
ctx.font = '25px Noto';
|
||||
ctx.fillText('EVERYONE CAUGHT IS A', 45, 165);
|
||||
ctx.fillText('EVERYONE CAUGHT IS', 18, 165);
|
||||
ctx.textAlign = 'center';
|
||||
ctx.fillText(is.toUpperCase(), 186, 189);
|
||||
ctx.fillText(is.toUpperCase(), 163, 202);
|
||||
await msg.channel.send({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'catch', 'part-1.png')] });
|
||||
await delay(time * 1000);
|
||||
return msg.channel.send({ files: [{ attachment: canvas.toBuffer(), name: 'part-2.png' }] });
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "119.7.2",
|
||||
"version": "119.7.3",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user