mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 06:42:50 +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.textBaseline = 'top';
|
||||||
ctx.fillStyle = 'red';
|
ctx.fillStyle = 'red';
|
||||||
ctx.font = '25px Noto';
|
ctx.font = '25px Noto';
|
||||||
ctx.fillText('EVERYONE CAUGHT IS A', 45, 165);
|
ctx.fillText('EVERYONE CAUGHT IS', 18, 165);
|
||||||
ctx.textAlign = 'center';
|
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 msg.channel.send({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'catch', 'part-1.png')] });
|
||||||
await delay(time * 1000);
|
await delay(time * 1000);
|
||||||
return msg.channel.send({ files: [{ attachment: canvas.toBuffer(), name: 'part-2.png' }] });
|
return msg.channel.send({ files: [{ attachment: canvas.toBuffer(), name: 'part-2.png' }] });
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "119.7.2",
|
"version": "119.7.3",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user