v2 Standalone Docker Update #40
@ -8,6 +8,7 @@ discord_module: bool = False
|
||||
test_module: bool = False
|
||||
user_module: bool = True
|
||||
|
||||
autoJoin_TwitchChannel = "thecuriousnerd"
|
||||
autoJoin_TwitchChannels = ["thecuriousnerd"]
|
||||
whitelisted_TwitchPowerUsers = ["thecuriousnerd"]
|
||||
|
||||
|
||||
@ -49,7 +49,7 @@ class Twitch_Pubsub():
|
||||
|
||||
# TwitchAuthorizationException() gets raised by the listen_channel_points
|
||||
def next(self):
|
||||
user_id = self.twitch.get_users(logins=['my_username'])['data'][0]['id']
|
||||
user_id = self.twitch.get_users(logins=[config.autoJoin_TwitchChannel])['data'][0]['id']
|
||||
if user_id is not None: print("found user_id")
|
||||
print(user_id)
|
||||
self.uuid_1 = self.pubsub.listen_whispers(user_id, self.callback_whisper)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user