aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'arthur/bot.py')
-rw-r--r--arthur/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/arthur/bot.py b/arthur/bot.py
index 5ba93a5..9b6d56e 100644
--- a/arthur/bot.py
+++ b/arthur/bot.py
@@ -76,7 +76,7 @@ class KingArthur(Bot):
async def is_owner(self, user: Union[User, Member]) -> bool:
"""Check if the invoker is a bot owner."""
- if not user.guild_id:
+ if not user.guild:
return False
return CONFIG.devops_role in [r.id for r in user.roles]