Fixed Startup
This commit is contained in:
parent
4be0adf737
commit
f7d3203c28
@ -7,7 +7,7 @@ discord_module: bool = True
|
||||
|
||||
autojoinTwitchChannels = ("thecuriousnerd")
|
||||
|
||||
selected_discordTTSChannels = (431129571308339210)
|
||||
selected_discordTTSChannels = ("431129571308339210")
|
||||
|
||||
|
||||
class Speaker(Enum):
|
||||
|
||||
11
main.py
11
main.py
@ -26,17 +26,16 @@ def twitch_module_init(dbCert, twitchCert):
|
||||
twitch_chat.db_manager.setup_engine(dbCert)
|
||||
twitch_chat.twitchCredential = twitchCert
|
||||
|
||||
for twitchChannel in config.autojoinTwitchChannels:
|
||||
twitch_chat.join_channel(None, twitchChannel)
|
||||
for twitchChannel in config.autojoinTwitchChannels.split():
|
||||
twitch_chat.join_channel(None, "thecuriousnerd")
|
||||
|
||||
|
||||
def discord_module_init(dbCert, discordCert):
|
||||
discord_connection.dbCredential = dbCert
|
||||
discord_connection.discordCredential = discordCert
|
||||
|
||||
for ttsChannel in config.selected_discordTTSChannels:
|
||||
discord_connection.selected_ttsChannels.append(ttsChannel)
|
||||
|
||||
for ttsChannel in config.selected_discordTTSChannels.split():
|
||||
discord_connection.selected_ttsChannels.append(int(ttsChannel))
|
||||
|
||||
discord_connection.main()
|
||||
|
||||
@ -72,7 +71,7 @@ def thread_main():
|
||||
t.join()
|
||||
|
||||
print("---Point of no return---")
|
||||
|
||||
input()
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user