diff options
author | 2021-10-14 22:41:57 +0100 | |
---|---|---|
committer | 2021-10-14 22:41:57 +0100 | |
commit | 28bd771cfcc3640bfe65f54ba7679e05a1117c73 (patch) | |
tree | 38c9245b759130d88bf9a8de7dab229420605aa5 | |
parent | Merge pull request #1831 from python-discord/custom-logger-class (diff) |
Update `isinstance` check
-rw-r--r-- | bot/exts/utils/reminders.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/reminders.py b/bot/exts/utils/reminders.py index be5181297..b4f88af05 100644 --- a/bot/exts/utils/reminders.py +++ b/bot/exts/utils/reminders.py @@ -118,7 +118,7 @@ class Reminders(Cog): if await has_no_roles_check(ctx, *STAFF_PARTNERS_COMMUNITY_ROLES): return False, "members/roles" elif await has_no_roles_check(ctx, *MODERATION_ROLES): - return all(isinstance(mention, discord.Member) for mention in mentions), "roles" + return all(isinstance(mention, (discord.User, discord.Member)) for mention in mentions), "roles" else: return True, "" |