v2 Standalone Docker Update #40

Merged
alex_orid merged 157 commits from v2.0 into master 2021-05-13 20:36:45 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 972738ca11 - Show all commits

View File

@ -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"]

View File

@ -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)