-
-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add Guild.delete_auto_moderation_rule
#2153
Conversation
delete_auto_moderation_rule
delete_auto_moderation_rule
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com> Signed-off-by: Marc13 <83296140+llamaair@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nowhere else in the library do we include a name
kwarg for deletions (roles, emojis, guilds, channels etc.)... it shouldn't be included here either.
(We also already have AutoModRule.delete()
, but having a method on guild is understandable to avoid an extra fetch.)
Ok, I'l remove the name kwarg 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add AutoModRule.delete()
as well?
Never mind that already exists
Head branch was pushed to by a user without write access
delete_auto_moderation_rule
Guild.delete_auto_moderation_rule
Signed-off-by: Lala Sabathil <lala@pycord.dev>
Summary
Add a function to delete auto moderation rules either by name or id.
Information
examples, ...).
Checklist
type: ignore
comments were used, a comment is also left explaining why.