Cleaned up the code a touch
This commit is contained in:
1 parent
ca1e5219e0
commit
caa3d48cd3
1 file changed
+2
-2
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user