26 lines
647 B
JSON
26 lines
647 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"name": "GUILD_MEMBER_REMOVE",
|
|
"description": "Sent when a user is removed from a guild (leave, kick, or ban).",
|
|
"scope": "guild",
|
|
"dispatchedBy": [
|
|
"DELETE /guilds/:guild_id/members/:user_id",
|
|
"DELETE /users/@me/guilds/:guild_id",
|
|
"PUT /guilds/:guild_id/bans/:user_id"
|
|
],
|
|
"payload": {
|
|
"type": "object",
|
|
"properties": {
|
|
"user": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {"type": "string", "description": "User ID"}
|
|
},
|
|
"required": ["id"],
|
|
"description": "Partial user object containing only the user ID"
|
|
}
|
|
},
|
|
"required": ["user"]
|
|
}
|
|
}
|