Fixed Typo

This commit is contained in:
Alex Orid 2021-01-20 05:20:51 -05:00
parent 4ef983c7cc
commit 140d099e2d
3 changed files with 9 additions and 5 deletions

View File

@ -2,12 +2,16 @@ from enum import Enum
credentialsNickname = "praxis_bot"
twitch_module: bool = False
twitch_module: bool = True
discord_module: bool = False
test_module: bool = True
test_module: bool = False
autojoinTwitchChannels = ["thecuriousnerd"]
autojoin_TwitchChannels = ["thecuriousnerd"]
block_TwitchChannelsMessaging = [""]
block_TwitchChannelsTTS = [""]
blockAll_TwitchChatChannelMessaging = False
blockAll_TwitchChatChannelTTS = False
selected_discordTTSChannels = ["431129571308339210"]

View File

@ -31,7 +31,7 @@ def twitch_module_init(dbCert, twitchCert):
twitchModule_.db_manager.setup_engine(dbCert)
twitchModule_.twitchCredential = twitchCert
for twitchChannel in config.autojoinTwitchChannels:
for twitchChannel in config.autojoin_TwitchChannels:
twitchModule_.join_channel(None, twitchChannel)
def discord_module_init(dbCert, discordCert):

View File

@ -172,4 +172,4 @@ if __name__ == "__main__":
testModule.dbCredential = credentials_manager.find_DB_Credential(config.credentialsNickname)
for twitchChannel in config.autojoinTwitchChannels:
testModule.join_channel(None, twitchChannel)
testModule.join_channel(None, twitchChannel)