master updates #26
@ -6,13 +6,10 @@ ___
|
||||
|
||||
## Docker Info:
|
||||
|
||||
Uncomment the following line in the **Dockerfile** to have **main.py** start with the Docker Container
|
||||
Currently to build the container you need to run the following command otherwise you get the error ***"TERM environment variable not set."***
|
||||
|
||||
`#CMD [ "python3", "main.py"]`
|
||||
`docker create -t -e ISDOCKER=cat --name praxis praxis`
|
||||
|
||||
To start the bot with **User_Module** activated use this.
|
||||
|
||||
`docker exec -ti praxis python3 main.py`
|
||||
|
||||
# Credentials:
|
||||
|
||||
|
||||
3
main.py
3
main.py
@ -36,8 +36,9 @@ def twitch_module_init(dbCert, twitchCert):
|
||||
twitchModule_.tts_enabled = config.autoEnabled_TwitchChannelsTTS
|
||||
twitchModule_.whitelisted_users = config.whitelisted_TwitchPowerUsers
|
||||
|
||||
print("[TWITCH Module]>", "Loading Channels...")
|
||||
for twitchChannel in config.autoJoin_TwitchChannels:
|
||||
print("joining channel function")
|
||||
print("joining twitch channel:", twitchChannel)
|
||||
twitchModule_.join_channel(None, twitchChannel)
|
||||
|
||||
def discord_module_init(dbCert, discordCert):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user