diff --git a/README.md b/README.md index d10ceed..52b43ff 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - + --- diff --git a/bot.jpg b/bot.jpg new file mode 100644 index 0000000..0faf145 Binary files /dev/null and b/bot.jpg differ diff --git a/describe.jpg b/describe.jpg index 0faf145..3d7f9be 100644 Binary files a/describe.jpg and b/describe.jpg differ diff --git a/main.py b/main.py index 24d4f40..a28bf15 100644 --- a/main.py +++ b/main.py @@ -37,7 +37,7 @@ session = None delay = 5 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() @@ -128,8 +128,8 @@ async def gif_describe(who, room_id): gifmaker, gm_common, f"--input '{input_path}'", - f"--words '{who} is [Random] [x5]' --bgcolor 0,0,0", - "--top 0 --fontsize 2.3 --filter random2", + f"--words '{who}\\nis [Random] [x5]' --bgcolor 0,0,0", + "--top 0 --fontsize 2.3 --filter random2 --top -40", ] await run_gifmaker(command, room_id)