From dd4b42803b7c102adbfe0a1f98704c728f14a232 Mon Sep 17 00:00:00 2001 From: Alex Orid Date: Wed, 23 Sep 2020 02:45:24 -0400 Subject: [PATCH] Added seasoning onto main() Added some extra spice to main() for later usage. --- main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/main.py b/main.py index c7f2b1e..62e4179 100644 --- a/main.py +++ b/main.py @@ -22,18 +22,18 @@ def main(): twitch_chat = twitch_script.Twitch_Module() - mainCert: credentials.Twitch_Credential if credentials_manager.Twitch_Credentials_List is not None: for cert in credentials_manager.Twitch_Credentials_List: if cert.username == "praxis_bot": - print("Twitch Certificate Found: " + cert.username) + print("Twitch Certificate Found: {" + cert.username + "}") mainCert = cert - twitch_chat.twitchCredential = cert + + print("Loading Credential: {" + cert.username + "} into Twitch_Module") + twitch_chat.twitchCredential = mainCert + print("Connecting to Channel: " + "thecuriousnerd") twitch_chat.join_channel(None, "thecuriousnerd") - #print("Connecting to Channels...") - #twitch_chat.join_channel(cert, "thecuriousnerd") - # twitch_chat.send_message("activated") + #twitch_chat.send_message("activated") if __name__ == "__main__":