From f65b0acacdf7b3adca5f7f8fab78b72d7b0190dc Mon Sep 17 00:00:00 2001 From: trigg Date: Mon, 28 Sep 2020 21:05:31 +0100 Subject: [PATCH] - Subscribe to new messages again --- discover_overlay/discover_overlay.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/discover_overlay/discover_overlay.py b/discover_overlay/discover_overlay.py index aecc52f..2564545 100755 --- a/discover_overlay/discover_overlay.py +++ b/discover_overlay/discover_overlay.py @@ -218,6 +218,7 @@ def on_message(ws, message): # VOICE_CONNECTED > CONNECTING > AWAITING_ENDPOINT > DISCONNECTED last_connection = j["data"]["state"] elif j["evt"] == "MESSAGE_CREATE": + add_text(j["data"]["message"]) else: print(j) @@ -246,7 +247,7 @@ def on_message(ws, message): req_channel_details(ws, channel["id"]) check_guilds() sub_all_voice_guild(ws,j["nonce"]) - #sub_all_text_guild(ws,j["nonce"]) + sub_all_text_guild(ws,j["nonce"]) return elif j["cmd"] == "SUBSCRIBE": return