Whoops pt. 3
This commit is contained in:
parent
5eddba8c1f
commit
eee3ed6462
@ -19,4 +19,4 @@ elif "token" not in config and "TOKEN" not in os.environ:
|
||||
print("Config file must contain key 'token', or the environment variable TOKEN must be present.")
|
||||
else:
|
||||
from pluralkit import bot
|
||||
bot.run(os.environ.get("TOKEN", config.get("token")), os.environ.get("DATABASE_URI", config.get("database_uri"), int(config.get("log_channel", 0)))
|
||||
bot.run(os.environ.get("TOKEN", config.get("token")), os.environ.get("DATABASE_URI", config.get("database_uri")), int(config.get("log_channel", 0)))
|
Loading…
Reference in New Issue
Block a user