cleaning up

This commit is contained in:
Faiz Ahmed
2021-07-17 16:10:35 -04:00
parent 26970ac780
commit 1d1af8f7e6
5 changed files with 45 additions and 196 deletions

View File

@@ -39,7 +39,7 @@ auto_remove_user = ""
switch = 0
try:
if(path.exists(CONFIG_PATH)):
if(path.exists(CONFIG_PATH)): #Only for old docker users who already have config mounted at /app/app/config/config.ini
config = configparser.ConfigParser()
config.read(CONFIG_PATH)
Discord_bot_token = config.get(BOT_SECTION, 'discord_bot_token')