Formatting
This commit is contained in:
parent
c7542b89f5
commit
38ac6d98b9
1 changed files with 2 additions and 2 deletions
2
main.py
2
main.py
|
@ -151,7 +151,7 @@ if __name__ == "__main__":
|
|||
"\\n", "\n"
|
||||
)
|
||||
try:
|
||||
ts = client.chat_postMessage(channel=chan, text=msg)['ts']
|
||||
ts = client.chat_postMessage(channel=chan, text=msg)["ts"]
|
||||
print(f"[INFO] Message sent (to the channel)! (TS ID: {ts})")
|
||||
except Exception as E:
|
||||
print("[WARN] Exception:")
|
||||
|
|
Loading…
Reference in a new issue