fixed token bug

This commit is contained in:
Faiz Ahmed
2021-07-26 13:58:02 -04:00
parent efae1c4c2a
commit 0aec5f4437

View File

@@ -30,11 +30,10 @@ if(path.exists('bot.env')):
except Exception as e:
pass
else:
try:
try:
Discord_bot_token = str(os.environ['token'])
switch = 1
except Exception as e:
except Exception as e:
print("ERROR. No config found.")
if(path.exists('app/config/config.ini')):