Fixed owner not correctly being set after config

This commit is contained in:
Twentysix 2016-02-25 19:34:09 +01:00
parent dcdfd2cee2
commit 12033f1746

2
red.py
View File

@ -464,7 +464,7 @@ def main():
check_configs()
set_logger()
settings = load_settings()
checks.owner = settings["OWNER"]
checks.settings["OWNER"] = settings["OWNER"]
load_cogs()
bot.command_prefix = settings["PREFIXES"]
yield from bot.login(settings["EMAIL"], settings["PASSWORD"])