-
-
Notifications
You must be signed in to change notification settings - Fork 482
Closed
Labels
bugSomething isn't workingSomething isn't workingpriority: highHigh PriorityHigh Prioritystatus: todoThis issue needs workThis issue needs work
Milestone
Description
Summary
Whenever you try to access a permissions .moderate_members attribute it always returns False
Reproduction Steps
Give the bot moderate member permissions, or even administrator, and the following methods always return False:
@commands.has_permissions(moderate_members=True)
member.guild_permissions.moderate_members
guild.me.guild_permissions.moderate_members
Minimal Reproducible Code
In reproduction steps
Expected Results
It returns True
Actual Results
It always returns False even when the bot has administrator
Intents
all
System Information
- Python v3.8.10-final
- py-cord v2.0.0-alpha
- py-cord pkg_resources: v2.0.0a4580+g1d65214e
- aiohttp v3.6.3
- system info: Linux 5.11.0-40-generic Changed discord.py & discord to Pycord. #44~20.04.2-Ubuntu SMP Tue Oct 26 18:07:44 UTC 2021
Checklist
- I have searched the open issues for duplicates.
- I have shown the entire traceback, if possible.
- I have removed my token from display, if visible.
Additional Context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpriority: highHigh PriorityHigh Prioritystatus: todoThis issue needs workThis issue needs work