From ce6be5dc705cda3d790b06e55fea16b2622cfc53 Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Wed, 5 Jun 2024 00:06:46 -0500 Subject: [PATCH] Formatting --- main.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 98e7086..cf97ca0 100644 --- a/main.py +++ b/main.py @@ -94,7 +94,9 @@ if __name__ == "__main__": ) try: while 1: - msg = input("[THREAD] Message (Raw text, not blocks)").replace("\\n", "\n") + msg = input( + "[THREAD] Message (Raw text, not blocks)" + ).replace("\\n", "\n") try: client.chat_postMessage( channel=chan, text=msg, thread_ts=ts @@ -106,7 +108,9 @@ if __name__ == "__main__": print() if ts: continue - msg = input("[CHANNEL] Message (Raw text, not blocks)").replace("\\n", "\n") + msg = input("[CHANNEL] Message (Raw text, not blocks)").replace( + "\\n", "\n" + ) try: client.chat_postMessage(channel=chan, text=msg) print("Message sent (to the channel)!")