Auto Responses entities can be interacted using a RESTful interface through a multitude of routes, including ones for viewing, modifying, and deleting entities.
Restful endpoints for viewing and modifying auto responses.
Get Responses for a Guild
Returns a list of auto response objects.
Create a New Auto Response
Returns an auto response object on success. Will fire some type of gateway event.
Json Params
| Field | Type | Description |
|---|---|---|
| trigger | string | Trigger portion of the auto response |
| response | string | Response portion of the auto response |
Delete an Auto Response
Returns 204 No Content on success. Requires ownership or admin. Will fire some type of gateway event.
Modify an Existing Auto Response
Modify the given auto response. Requires ownership or an admin. Returns the updated auto response object on success. Will fire some type of gateway event.
Json Params
| Field | Type | Description |
|---|---|---|
| trigger | string | New trigger portion of the auto response |
| response | string | New response portion of the auto response |