From caa3d48cd366bee9506fe7479a51cc8aaa9e9823 Mon Sep 17 00:00:00 2001 From: Benjamyn Love Date: Tue, 24 Dec 2019 15:25:17 +1100 Subject: [PATCH] Cleaned up the code a touch --- tbot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tbot.py b/tbot.py index 62627c7..fee72ac 100644 --- a/tbot.py +++ b/tbot.py @@ -2,7 +2,7 @@ import twitch import datetime import re -UserID = "oauth:9yymca9k3o4okc40lgc67q9u9x3dqe" +UserID = "OAUTH:TOKEN" PREFIX = '!' BOTID = '[BOT]' @@ -76,7 +76,7 @@ def main(): chat = twitch.Chat(channel='#aztecdude1', nickname='AzBot', oauth=UserID, - helix=twitch.Helix(client_id='brxmkiwb7y8f2zec55m5oom5xu0tgo', use_cache=True)) + helix=twitch.Helix(client_id='TWITCHCLIENTID', use_cache=True)) chat.subscribe(handle_message) chat.send(f"{BOTID} I am online now")