Fix behavior of is_owner for team applications and put all owner IDs in one attribute (#3793)

* blah

* you idiot

* Me likey Danny's way

* Add a warning when bot has no owner set
This commit is contained in:
jack1142
2020-05-29 00:03:23 +02:00
committed by GitHub
parent a9acb80132
commit 05ec73266c
3 changed files with 30 additions and 22 deletions

View File

@@ -171,7 +171,7 @@ def red(config_fr):
Config.get_core_conf = lambda *args, **kwargs: config_fr
red = Red(cli_flags=cli_flags, description=description, dm_help=None, owner_id=None)
red = Red(cli_flags=cli_flags, description=description, dm_help=None, owner_ids=set())
yield red