Mods
This commit is contained in:
parent
c98f39d7fa
commit
3c698d239e
|
@ -1,4 +1,4 @@
|
||||||
<img src="describe.jpg" width="360">
|
<img src="bot.jpg" width="360">
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
BIN
describe.jpg
BIN
describe.jpg
Binary file not shown.
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 83 KiB |
6
main.py
6
main.py
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue