Cleaned up the code a touch
This commit is contained in:
parent
ca1e5219e0
commit
caa3d48cd3
4
tbot.py
4
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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user