Readme Update
This commit is contained in:
parent
b7e20c5602
commit
897f1c367f
@ -6,13 +6,10 @@ ___
|
|||||||
|
|
||||||
## Docker Info:
|
## 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:
|
# Credentials:
|
||||||
|
|
||||||
|
|||||||
3
main.py
3
main.py
@ -36,8 +36,9 @@ def twitch_module_init(dbCert, twitchCert):
|
|||||||
twitchModule_.tts_enabled = config.autoEnabled_TwitchChannelsTTS
|
twitchModule_.tts_enabled = config.autoEnabled_TwitchChannelsTTS
|
||||||
twitchModule_.whitelisted_users = config.whitelisted_TwitchPowerUsers
|
twitchModule_.whitelisted_users = config.whitelisted_TwitchPowerUsers
|
||||||
|
|
||||||
|
print("[TWITCH Module]>", "Loading Channels...")
|
||||||
for twitchChannel in config.autoJoin_TwitchChannels:
|
for twitchChannel in config.autoJoin_TwitchChannels:
|
||||||
print("joining channel function")
|
print("joining twitch channel:", twitchChannel)
|
||||||
twitchModule_.join_channel(None, twitchChannel)
|
twitchModule_.join_channel(None, twitchChannel)
|
||||||
|
|
||||||
def discord_module_init(dbCert, discordCert):
|
def discord_module_init(dbCert, discordCert):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user