22 lines
586 B
JSON
22 lines
586 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"name": "GUILD_DELETE",
|
|
"description": "Sent when a guild becomes unavailable or the user is removed from a guild.",
|
|
"scope": "guild",
|
|
"dispatchedBy": ["DELETE /guilds/:guild_id", "DELETE /users/@me/guilds/:guild_id", "gateway"],
|
|
"payload": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"description": "Guild ID"
|
|
},
|
|
"unavailable": {
|
|
"type": "boolean",
|
|
"description": "True if the guild is unavailable due to an outage (not a leave/kick)"
|
|
}
|
|
},
|
|
"required": ["id"]
|
|
}
|
|
}
|