diff options
author | 2021-10-15 09:25:31 +0200 | |
---|---|---|
committer | 2021-10-15 09:25:31 +0200 | |
commit | 510f733fe6da44989c609ba029635047f46ee4c6 (patch) | |
tree | 38c9245b759130d88bf9a8de7dab229420605aa5 | |
parent | Merge pull request #1831 from python-discord/custom-logger-class (diff) | |
parent | Update `isinstance` check (diff) |
Merge pull request #1874 from python-discord/fix-bot-1869
Fix community/staff members not being able to mention users in `!remind`
-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, "" |