fixed token bug
This commit is contained in:
@@ -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')):
|
||||
|
||||
Reference in New Issue
Block a user