From cc1d7b2b599a6973cd03be0a5dde0911ef27dcf6 Mon Sep 17 00:00:00 2001 From: Twentysix Date: Thu, 27 Apr 2017 10:24:29 +0200 Subject: [PATCH] [Core] Check for coowners in the db --- core/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/bot.py b/core/bot.py index 3b9dbb318..1039c6366 100644 --- a/core/bot.py +++ b/core/bot.py @@ -34,7 +34,7 @@ class Red(commands.Bot): async def is_owner(self, user, allow_coowners=True): if allow_coowners: - if user.id in self.settings.coowners: + if user.id in self.db.get_global("coowners", []): return True return await super().is_owner(user)