mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Add support for guild incidents
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
This commit is contained in:
1 parent
62a70c21b6
commit
851c857a36
3 files changed
+94
No files matched your search
@@ -1764,6 +1764,9 @@ class HTTPClient:
|
||||
) -> Response[widget.WidgetSettings]:
|
||||
return self.request(Route('PATCH', '/guilds/{guild_id}/widget', guild_id=guild_id), json=payload, reason=reason)
|
||||
|
||||
def edit_incident_actions(self, guild_id: Snowflake, payload: guild.IncidentData) -> Response[guild.IncidentData]:
|
||||
return self.request(Route('PUT', '/guilds/{guild_id}/incident-actions', guild_id=guild_id), json=payload)
|
||||
|
||||
# Invite management
|
||||
|
||||
def create_invite(
|
||||
|
||||
Reference in new issue
Block a user