mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Whoops pt. 3
This commit is contained in:
parent
5eddba8c1f
commit
eee3ed6462
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue