pycord
pycord copied to clipboard
permissions.moderate_members always returns False
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 #44~20.04.2-Ubuntu SMP Tue Oct 26 18:07:44 UTC 2021
Checklist
- [X] I have searched the open issues for duplicates.
- [X] I have shown the entire traceback, if possible.
- [X] I have removed my token from display, if visible.
Additional Context
No response
- I enabled community in my server,
- I confirmed that I can manually time out users. (I am server owner, got admin and everything)
- I ran
member.guild_permissions.moderate_memberson myself and my bots.
it returned false. Seems to be a valid issue.
Can not reproduce.
