From ccecba00bb7b4bac7e58776dde65eb07358dd3d4 Mon Sep 17 00:00:00 2001 From: Auric Vente Date: Sat, 20 Apr 2024 13:47:38 -0600 Subject: [PATCH] Mods --- main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 7bd59ab..f82072a 100644 --- a/main.py +++ b/main.py @@ -368,7 +368,11 @@ async def make_meme(ws, arg, room_id): temp_file.write(chunk) file_name = temp_file.name - words = arg if arg else "[Random] [Random]" + + words = arg if arg else "" + + if words == "random": + words = "[Random] [Random]" command = gifmaker_command([ "--input", file_name,