-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Labels
unconfirmed bugA bug report that needs triagingA bug report that needs triaging
Description
Summary
When I do like await ctx.guild.edit(invites_disabled=True) it returns 403 Forbidden even tho the bot has the permission to do it. And await ctx.guild.edit(invites_disabled=False) does nothing. invites_disabled_until works.
Reproduction Steps
- Do
await ctx.guild.edit(invites_disabled=True).
You will get 403 Forbidden error. - Do
await ctx.guild.edit(invites_disabled=False).
It will not do anything.
Minimal Reproducible Code
Expected Results
Expected await ctx.guild.edit(invites_disabled=True) to pause invites but it didn't.
Expected await ctx.guild.edit(invites_disabled=False) to resume invites but it didn't.
Actual Results
You will get 403 Forbidden error when you do await ctx.guild.edit(invites_disabled=True).
await ctx.guild.edit(invites_disabled=False) does nothing.
Intents
All.
System Information
- Python v3.12.9-final
- discord.py v2.5.0-alpha
- discord.py metadata: v2.5.0a5142+gfa1cc00a
- aiohttp v3.11.11
- system info: Windows 11 10.0.22631
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
unconfirmed bugA bug report that needs triagingA bug report that needs triaging