From b9ac4faef081b034c0d669e71dabd90379e8d646 Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Tue, 4 Jun 2024 17:23:56 -0500 Subject: [PATCH] Swap out some debug prints for just a conformation of sending --- main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/main.py b/main.py index b4084b5..b3d0d50 100644 --- a/main.py +++ b/main.py @@ -96,20 +96,20 @@ if __name__ == "__main__": while 1: msg = input("[THREAD] Message (Raw text, not blocks)") try: - print( - client.chat_postMessage( - channel=chan, text=msg, thread_ts=ts - ) + client.chat_postMessage( + channel=chan, text=msg, thread_ts=ts ) + print("Message sent (to the thread)!") except Exception as E: print(f"Exception: {E}") except KeyboardInterrupt: print() if ts: continue - msg = input("Message (Raw text, not blocks)") + msg = input("[CHANNEL] Message (Raw text, not blocks)") try: - print(client.chat_postMessage(channel=chan, text=msg)) + client.chat_postMessage(channel=chan, text=msg) + print("Message sent (to the channel)!") except Exception as E: print(f"Exception: {E}") except KeyboardInterrupt: