This commit is contained in:
Auric Vente 2024-02-20 20:34:52 -06:00
parent c98f39d7fa
commit 3c698d239e
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
<img src="describe.jpg" width="360"> <img src="bot.jpg" width="360">
--- ---

BIN
bot.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 KiB

After

Width:  |  Height:  |  Size: 83 KiB

View File

@ -37,7 +37,7 @@ session = None
delay = 5 delay = 5
gifmaker = "/usr/bin/gifmaker" gifmaker = "/usr/bin/gifmaker"
gm_common = "--font triplex --width 555 --nogrow --output /tmp/gifmaker" gm_common = "--font triplex --width 350 --nogrow --output /tmp/gifmaker"
cmd_date = get_time() cmd_date = get_time()
@ -128,8 +128,8 @@ async def gif_describe(who, room_id):
gifmaker, gifmaker,
gm_common, gm_common,
f"--input '{input_path}'", f"--input '{input_path}'",
f"--words '{who} is [Random] [x5]' --bgcolor 0,0,0", f"--words '{who}\\nis [Random] [x5]' --bgcolor 0,0,0",
"--top 0 --fontsize 2.3 --filter random2", "--top 0 --fontsize 2.3 --filter random2 --top -40",
] ]
await run_gifmaker(command, room_id) await run_gifmaker(command, room_id)