refactor progress
This commit is contained in:
25
fluxer_docs/schemas/events/GUILD_BAN_ADD.json
Normal file
25
fluxer_docs/schemas/events/GUILD_BAN_ADD.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"name": "GUILD_BAN_ADD",
|
||||
"description": "Sent when a user is banned from a guild.",
|
||||
"scope": "guild",
|
||||
"dispatchedBy": ["PUT /guilds/:guild_id/bans/:user_id"],
|
||||
"payload": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"guild_id": {
|
||||
"type": "string",
|
||||
"description": "Guild ID"
|
||||
},
|
||||
"user": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {"type": "string", "description": "User ID"}
|
||||
},
|
||||
"required": ["id"],
|
||||
"description": "Partial user object"
|
||||
}
|
||||
},
|
||||
"required": ["guild_id", "user"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user