Browse Source

Add missing error for Guild.fetch_automod_rule

pull/9963/head
Gooraeng 6 months ago
committed by GitHub
parent
commit
1ad45f585f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      discord/guild.py

2
discord/guild.py

@ -4353,6 +4353,8 @@ class Guild(Hashable):
------- -------
Forbidden Forbidden
You do not have permission to view the automod rule. You do not have permission to view the automod rule.
NotFound
The automod rule does not exist within this guild.
Returns Returns
-------- --------

Loading…
Cancel
Save