diff --git a/assets/openapi.json b/assets/openapi.json
index 9d4f0a1e..cf262c2c 100644
--- a/assets/openapi.json
+++ b/assets/openapi.json
@@ -2390,12 +2390,16 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
},
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -3632,47 +3636,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/components/schemas/Channel"
+ "$ref": "#/components/schemas/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -3707,6 +3709,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -3773,30 +3808,9 @@
"$ref": "#/components/schemas/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -3830,21 +3844,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"required": [
@@ -4173,7 +4177,9 @@
"channel": {
"$ref": "#/components/schemas/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/components/schemas/AuthRateLimit"
+ }
},
"required": [
"auth",
@@ -4182,6 +4188,21 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/components/schemas/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/components/schemas/RateLimitOptions"
+ }
+ },
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -4664,13 +4685,13 @@
"discovery_splash": {
"type": "string"
},
- "region": {
- "type": "string"
- },
"icon": {
"type": "string",
"nullable": true
},
+ "region": {
+ "type": "string"
+ },
"guild_template_code": {
"type": "string"
},
@@ -5406,6 +5427,12 @@
},
"promotional_email_opt_in": {
"type": "boolean"
+ },
+ "unique_username_registration": {
+ "type": "boolean"
+ },
+ "global_name": {
+ "type": "string"
}
},
"required": [
@@ -5684,13 +5711,6 @@
"version": {
"type": "integer"
},
- "guild_id": {
- "type": "string",
- "nullable": true
- },
- "flags": {
- "type": "integer"
- },
"message_notifications": {
"type": "integer"
},
@@ -5716,6 +5736,13 @@
"suppress_roles": {
"type": "boolean"
},
+ "guild_id": {
+ "type": "string",
+ "nullable": true
+ },
+ "flags": {
+ "type": "integer"
+ },
"mute_scheduled_events": {
"type": "boolean"
},
@@ -6934,6 +6961,9 @@
"APIPrivateUser": {
"type": "object",
"properties": {
+ "flags": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -6980,9 +7010,6 @@
"pronouns": {
"type": "string"
},
- "flags": {
- "type": "string"
- },
"mfa_enabled": {
"type": "boolean"
},
@@ -7051,6 +7078,9 @@
"newToken": {
"type": "string"
},
+ "flags": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -7097,9 +7127,6 @@
"pronouns": {
"type": "string"
},
- "flags": {
- "type": "string"
- },
"mfa_enabled": {
"type": "boolean"
},
@@ -7264,10 +7291,10 @@
"APIPublicMember": {
"type": "object",
"properties": {
- "id": {
+ "guild_id": {
"type": "string"
},
- "guild_id": {
+ "id": {
"type": "string"
},
"nick": {
@@ -7696,10 +7723,10 @@
"additionalProperties": false,
"type": "object",
"properties": {
- "id": {
+ "guild_id": {
"type": "string"
},
- "guild_id": {
+ "id": {
"type": "string"
},
"nick": {
diff --git a/assets/schemas.json b/assets/schemas.json
index 5a119d0c..467f29fa 100644
--- a/assets/schemas.json
+++ b/assets/schemas.json
@@ -2531,6 +2531,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -2538,6 +2541,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -3803,47 +3807,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -3878,6 +3880,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -3944,30 +3979,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -4001,21 +4015,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -4365,7 +4369,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -4375,6 +4381,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -6729,6 +6751,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -6736,6 +6761,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -8001,47 +8027,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -8076,6 +8100,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -8142,30 +8199,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -8199,21 +8235,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -8563,7 +8589,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -8573,6 +8601,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -10927,6 +10971,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -10934,6 +10981,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -12199,47 +12247,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -12274,6 +12320,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -12340,30 +12419,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -12397,21 +12455,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -12761,7 +12809,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -12771,6 +12821,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -15120,6 +15186,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -15127,6 +15196,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -16392,47 +16462,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -16467,6 +16535,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -16533,30 +16634,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -16590,21 +16670,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -16954,7 +17024,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -16964,6 +17036,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -19349,6 +19437,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -19356,6 +19447,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -20621,47 +20713,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -20696,6 +20786,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -20762,30 +20885,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -20819,21 +20921,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -21183,7 +21275,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -21193,6 +21287,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -23547,6 +23657,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -23554,6 +23667,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -24819,47 +24933,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -24894,6 +25006,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -24960,30 +25105,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -25017,21 +25141,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -25381,7 +25495,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -25391,6 +25507,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -27736,6 +27868,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -27743,6 +27878,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -29008,47 +29144,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -29083,6 +29217,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -29149,30 +29316,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -29206,21 +29352,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -29570,7 +29706,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -29580,6 +29718,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -31928,6 +32082,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -31935,6 +32092,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -33200,47 +33358,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -33275,6 +33431,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -33341,30 +33530,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -33398,21 +33566,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -33762,7 +33920,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -33772,6 +33932,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -36129,6 +36305,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -36136,6 +36315,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -37401,47 +37581,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -37476,6 +37654,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -37542,30 +37753,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -37599,21 +37789,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -37963,7 +38143,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -37973,6 +38155,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -40318,6 +40516,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -40325,6 +40526,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -41590,47 +41792,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -41665,6 +41865,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -41731,30 +41964,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -41788,21 +42000,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -42152,7 +42354,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -42162,6 +42366,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -44507,6 +44727,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -44514,6 +44737,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -45779,47 +46003,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -45854,6 +46076,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -45920,30 +46175,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -45977,21 +46211,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -46341,7 +46565,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -46351,6 +46577,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -48715,6 +48957,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -48722,6 +48967,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -49987,47 +50233,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -50062,6 +50306,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -50128,30 +50405,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -50185,21 +50441,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -50549,7 +50795,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -50559,6 +50807,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -52907,6 +53171,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -52914,6 +53181,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -54179,47 +54447,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -54254,6 +54520,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -54320,30 +54619,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -54377,21 +54655,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -54741,7 +55009,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -54751,6 +55021,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -54976,15 +55262,15 @@
"discovery_splash": {
"type": "string"
},
- "region": {
- "type": "string"
- },
"icon": {
"type": [
"null",
"string"
]
},
+ "region": {
+ "type": "string"
+ },
"guild_template_code": {
"type": "string"
},
@@ -57159,6 +57445,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -57166,6 +57455,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -58431,47 +58721,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -58506,6 +58794,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -58572,30 +58893,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -58629,21 +58929,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -58993,7 +59283,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -59003,6 +59295,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -61370,6 +61678,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -61377,6 +61688,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -62642,47 +62954,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -62717,6 +63027,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -62783,30 +63126,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -62840,21 +63162,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -63204,7 +63516,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -63214,6 +63528,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -65722,6 +66052,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -65729,6 +66062,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -66994,47 +67328,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -67069,6 +67401,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -67135,30 +67500,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -67192,21 +67536,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -67556,7 +67890,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -67566,6 +67902,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -69929,6 +70281,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -69936,6 +70291,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -71201,47 +71557,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -71276,6 +71630,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -71342,30 +71729,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -71399,21 +71765,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -71763,7 +72119,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -71773,6 +72131,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -74149,6 +74523,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -74156,6 +74533,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -75421,47 +75799,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -75496,6 +75872,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -75562,30 +75971,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -75619,21 +76007,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -75983,7 +76361,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -75993,6 +76373,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -78351,6 +78747,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -78358,6 +78757,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -79623,47 +80023,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -79698,6 +80096,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -79764,30 +80195,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -79821,21 +80231,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -80185,7 +80585,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -80195,6 +80597,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -82559,6 +82977,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -82566,6 +82987,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -83831,47 +84253,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -83906,6 +84326,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -83972,30 +84425,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -84029,21 +84461,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -84393,7 +84815,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -84403,6 +84827,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -86757,6 +87197,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -86764,6 +87207,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -88029,47 +88473,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -88104,6 +88546,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -88170,30 +88645,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -88227,21 +88681,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -88591,7 +89035,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -88601,6 +89047,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -90943,6 +91405,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -90950,6 +91415,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -92215,47 +92681,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -92290,6 +92754,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -92356,30 +92853,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -92413,21 +92889,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -92777,7 +93243,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -92787,6 +93255,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -95240,6 +95724,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -95247,6 +95734,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -96512,47 +97000,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -96587,6 +97073,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -96653,30 +97172,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -96710,21 +97208,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -97074,7 +97562,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -97084,6 +97574,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -99534,6 +100040,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -99541,6 +100050,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -100806,47 +101316,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -100881,6 +101389,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -100947,30 +101488,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -101004,21 +101524,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -101368,7 +101878,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -101378,6 +101890,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -103723,6 +104251,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -103730,6 +104261,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -104995,47 +105527,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -105070,6 +105600,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -105136,30 +105699,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -105193,21 +105735,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -105557,7 +106089,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -105567,6 +106101,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -107920,6 +108470,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -107927,6 +108480,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -109192,47 +109746,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -109267,6 +109819,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -109333,30 +109918,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -109390,21 +109954,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -109754,7 +110308,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -109764,6 +110320,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -112110,6 +112682,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -112117,6 +112692,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -113382,47 +113958,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -113457,6 +114031,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -113523,30 +114130,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -113580,21 +114166,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -113944,7 +114520,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -113954,6 +114532,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -116300,6 +116894,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -116307,6 +116904,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -117572,47 +118170,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -117647,6 +118243,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -117713,30 +118342,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -117770,21 +118378,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -118134,7 +118732,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -118144,6 +118744,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -118349,6 +118965,12 @@
},
"promotional_email_opt_in": {
"type": "boolean"
+ },
+ "unique_username_registration": {
+ "type": "boolean"
+ },
+ "global_name": {
+ "type": "string"
}
},
"additionalProperties": false,
@@ -120519,6 +121141,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -120526,6 +121151,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -121791,47 +122417,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -121866,6 +122490,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -121932,30 +122589,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -121989,21 +122625,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -122353,7 +122979,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -122363,6 +122991,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -124709,6 +125353,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -124716,6 +125363,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -125981,47 +126629,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -126056,6 +126702,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -126122,30 +126801,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -126179,21 +126837,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -126543,7 +127191,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -126553,6 +127203,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -128898,6 +129564,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -128905,6 +129574,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -130170,47 +130840,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -130245,6 +130913,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -130311,30 +131012,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -130368,21 +131048,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -130732,7 +131402,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -130742,6 +131414,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -133102,6 +133790,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -133109,6 +133800,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -134374,47 +135066,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -134449,6 +135139,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -134515,30 +135238,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -134572,21 +135274,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -134936,7 +135628,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -134946,6 +135640,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -137295,6 +138005,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -137302,6 +138015,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -138567,47 +139281,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -138642,6 +139354,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -138708,30 +139453,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -138765,21 +139489,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -139129,7 +139843,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -139139,6 +139855,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -141562,6 +142294,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -141569,6 +142304,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -142834,47 +143570,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -142909,6 +143643,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -142975,30 +143742,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -143032,21 +143778,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -143396,7 +144132,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -143406,6 +144144,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -145751,6 +146505,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -145758,6 +146515,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -147023,47 +147781,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -147098,6 +147854,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -147164,30 +147953,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -147221,21 +147989,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -147585,7 +148343,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -147595,6 +148355,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -149940,6 +150716,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -149947,6 +150726,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -151212,47 +151992,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -151287,6 +152065,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -151353,30 +152164,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -151410,21 +152200,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -151774,7 +152554,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -151784,6 +152566,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -154126,6 +154924,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -154133,6 +154934,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -155398,47 +156200,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -155473,6 +156273,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -155539,30 +156372,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -155596,21 +156408,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -155960,7 +156762,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -155970,6 +156774,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -158318,6 +159138,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -158325,6 +159148,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -159590,47 +160414,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -159665,6 +160487,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -159731,30 +160586,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -159788,21 +160622,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -160152,7 +160976,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -160162,6 +160988,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -162520,6 +163362,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -162527,6 +163372,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -163792,47 +164638,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -163867,6 +164711,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -163933,30 +164810,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -163990,21 +164846,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -164354,7 +165200,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -164364,6 +165212,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -166706,6 +167570,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -166713,6 +167580,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -167978,47 +168846,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -168053,6 +168919,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -168119,30 +169018,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -168176,21 +169054,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -168540,7 +169408,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -168550,6 +169420,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -168730,15 +169616,6 @@
"version": {
"type": "integer"
},
- "guild_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
"message_notifications": {
"type": "integer"
},
@@ -168764,6 +169641,15 @@
"suppress_roles": {
"type": "boolean"
},
+ "guild_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
"mute_scheduled_events": {
"type": "boolean"
},
@@ -170941,6 +171827,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -170948,6 +171837,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -172213,47 +173103,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -172288,6 +173176,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -172354,30 +173275,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -172411,21 +173311,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -172775,7 +173665,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -172785,6 +173677,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -175162,6 +176070,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -175169,6 +176080,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -176434,47 +177346,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -176509,6 +177419,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -176575,30 +177518,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -176632,21 +177554,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -176996,7 +177908,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -177006,6 +177920,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -179348,6 +180278,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -179355,6 +180288,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -180620,47 +181554,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -180695,6 +181627,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -180761,30 +181726,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -180818,21 +181762,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -181182,7 +182116,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -181192,6 +182128,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -183559,6 +184511,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -183566,6 +184521,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -184831,47 +185787,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -184906,6 +185860,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -184972,30 +185959,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -185029,21 +185995,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -185393,7 +186349,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -185403,6 +186361,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -187859,6 +188833,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -187866,6 +188843,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -189131,47 +190109,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -189206,6 +190182,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -189272,30 +190281,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -189329,21 +190317,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -189693,7 +190671,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -189703,6 +190683,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -192044,6 +193040,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -192051,6 +193050,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -193316,47 +194316,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -193391,6 +194389,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -193457,30 +194488,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -193514,21 +194524,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -193878,7 +194878,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -193888,6 +194890,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -196268,6 +197286,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -196275,6 +197296,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -197540,47 +198562,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -197615,6 +198635,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -197681,30 +198734,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -197738,21 +198770,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -198102,7 +199124,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -198112,6 +199136,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -200480,6 +201520,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -200487,6 +201530,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -201752,47 +202796,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -201827,6 +202869,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -201893,30 +202968,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -201950,21 +203004,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -202314,7 +203358,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -202324,6 +203370,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -204744,6 +205806,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -204751,6 +205816,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -206016,47 +207082,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -206091,6 +207155,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -206157,30 +207254,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -206214,21 +207290,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -206578,7 +207644,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -206588,6 +207656,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -208930,6 +210014,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -208937,6 +210024,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -210202,47 +211290,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -210277,6 +211363,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -210343,30 +211462,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -210400,21 +211498,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -210764,7 +211852,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -210774,6 +211864,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -213124,6 +214230,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -213131,6 +214240,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -214396,47 +215506,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -214471,6 +215579,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -214537,30 +215678,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -214594,21 +215714,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -214958,7 +216068,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -214968,6 +216080,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -217308,6 +218436,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -217315,6 +218446,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -218580,47 +219712,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -218655,6 +219785,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -218721,30 +219884,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -218778,21 +219920,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -219142,7 +220274,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -219152,6 +220286,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -221498,6 +222648,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -221505,6 +222658,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -222770,47 +223924,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -222845,6 +223997,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -222911,30 +224096,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -222968,21 +224132,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -223332,7 +224486,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -223342,6 +224498,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -225688,6 +226860,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -225695,6 +226870,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -226960,47 +228136,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -227035,6 +228209,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -227101,30 +228308,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -227158,21 +228344,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -227522,7 +228698,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -227532,6 +228710,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -229878,6 +231072,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -229885,6 +231082,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -231150,47 +232348,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -231225,6 +232421,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -231291,30 +232520,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -231348,21 +232556,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -231712,7 +232910,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -231722,6 +232922,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -234100,6 +235316,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -234107,6 +235326,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -235372,47 +236592,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -235447,6 +236665,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -235513,30 +236764,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -235570,21 +236800,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -235934,7 +237154,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -235944,6 +237166,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -238294,6 +239532,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -238301,6 +239542,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -239566,47 +240808,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -239641,6 +240881,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -239707,30 +240980,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -239764,21 +241016,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -240128,7 +241370,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -240138,6 +241382,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -242478,6 +243738,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -242485,6 +243748,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -243750,47 +245014,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -243825,6 +245087,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -243891,30 +245186,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -243948,21 +245222,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -244312,7 +245576,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -244322,6 +245588,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -246668,6 +247950,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -246675,6 +247960,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -247940,47 +249226,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -248015,6 +249299,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -248081,30 +249398,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -248138,21 +249434,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -248502,7 +249788,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -248512,6 +249800,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -250869,6 +252173,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -250876,6 +252183,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -252141,47 +253449,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -252216,6 +253522,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -252282,30 +253621,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -252339,21 +253657,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -252703,7 +254011,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -252713,6 +254023,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -255084,6 +256410,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -255091,6 +256420,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -256356,47 +257686,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -256431,6 +257759,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -256497,30 +257858,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -256554,21 +257894,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -256918,7 +258248,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -256928,6 +258260,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -259270,6 +260618,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -259277,6 +260628,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -260542,47 +261894,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -260617,6 +261967,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -260683,30 +262066,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -260740,21 +262102,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -261104,7 +262456,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -261114,6 +262468,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -263459,6 +264829,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -263466,6 +264839,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -264731,47 +266105,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -264806,6 +266178,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -264872,30 +266277,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -264929,21 +266313,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -265293,7 +266667,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -265303,6 +266679,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -267677,6 +269069,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -267684,6 +269079,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -268949,47 +270345,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -269024,6 +270418,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -269090,30 +270517,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -269147,21 +270553,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -269511,7 +270907,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -269521,6 +270919,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -271863,6 +273277,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -271870,6 +273287,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -273135,47 +274553,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -273210,6 +274626,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -273276,30 +274725,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -273333,21 +274761,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -273697,7 +275115,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -273707,6 +275127,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -276128,6 +277564,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -276135,6 +277574,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -277400,47 +278840,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -277475,6 +278913,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -277541,30 +279012,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -277598,21 +279048,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -277962,7 +279402,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -277972,6 +279414,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -280321,6 +281779,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -280328,6 +281789,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -281593,47 +283055,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -281668,6 +283128,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -281734,30 +283227,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -281791,21 +283263,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -282155,7 +283617,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -282165,6 +283629,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -284507,6 +285987,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -284514,6 +285997,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -285779,47 +287263,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -285854,6 +287336,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -285920,30 +287435,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -285977,21 +287471,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -286341,7 +287825,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -286351,6 +287837,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -288693,6 +290195,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -288700,6 +290205,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -289965,47 +291471,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -290040,6 +291544,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -290106,30 +291643,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -290163,21 +291679,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -290527,7 +292033,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -290537,6 +292045,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -292886,6 +294410,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -292893,6 +294420,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -294158,47 +295686,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -294233,6 +295759,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -294299,30 +295858,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -294356,21 +295894,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -294720,7 +296248,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -294730,6 +296260,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -297076,6 +298622,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -297083,6 +298632,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -298348,47 +299898,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -298423,6 +299971,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -298489,30 +300070,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -298546,21 +300106,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -298910,7 +300460,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -298920,6 +300472,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -301262,6 +302830,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -301269,6 +302840,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -302534,47 +304106,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -302609,6 +304179,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -302675,30 +304278,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -302732,21 +304314,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -303096,7 +304668,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -303106,6 +304680,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -305523,6 +307113,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -305530,6 +307123,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -306795,47 +308389,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -306870,6 +308462,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -306936,30 +308561,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -306993,21 +308597,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -307357,7 +308951,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -307367,6 +308963,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -309720,6 +311332,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -309727,6 +311342,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -310992,47 +312608,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -311067,6 +312681,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -311133,30 +312780,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -311190,21 +312816,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -311554,7 +313170,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -311564,6 +313182,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -313918,6 +315552,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -313925,6 +315562,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -315190,47 +316828,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -315265,6 +316901,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -315331,30 +317000,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -315388,21 +317036,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -315752,7 +317390,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -315762,6 +317402,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -318166,6 +319822,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -318173,6 +319832,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -319438,47 +321098,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -319513,6 +321171,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -319579,30 +321270,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -319636,21 +321306,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -320000,7 +321660,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -320010,6 +321672,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -322373,6 +324051,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -322380,6 +324061,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -323645,47 +325327,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -323720,6 +325400,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -323786,30 +325499,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -323843,21 +325535,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -324207,7 +325889,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -324217,6 +325901,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -326586,6 +328286,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -326593,6 +328296,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -327858,47 +329562,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -327933,6 +329635,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -327999,30 +329734,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -328056,21 +329770,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -328420,7 +330124,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -328430,6 +330136,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -330793,6 +332515,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -330800,6 +332525,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -332065,47 +333791,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -332140,6 +333864,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -332206,30 +333963,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -332263,21 +333999,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -332627,7 +334353,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -332637,6 +334365,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -334979,6 +336723,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -334986,6 +336733,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -336251,47 +337999,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -336326,6 +338072,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -336392,30 +338171,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -336449,21 +338207,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -336813,7 +338561,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -336823,6 +338573,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -339193,6 +340959,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -339200,6 +340969,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -340465,47 +342235,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -340540,6 +342308,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -340606,30 +342407,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -340663,21 +342443,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -341027,7 +342797,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -341037,6 +342809,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -343419,6 +345207,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -343426,6 +345217,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -344691,47 +346483,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -344766,6 +346556,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -344832,30 +346655,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -344889,21 +346691,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -345253,7 +347045,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -345263,6 +347057,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -347599,6 +349409,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -347606,6 +349419,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -348871,47 +350685,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -348946,6 +350758,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -349012,30 +350857,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -349069,21 +350893,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -349433,7 +351247,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -349443,6 +351259,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -351789,6 +353621,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -351796,6 +353631,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -353061,47 +354897,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -353136,6 +354970,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -353202,30 +355069,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -353259,21 +355105,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -353623,7 +355459,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -353633,6 +355471,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -355975,6 +357829,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -355982,6 +357839,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -357247,47 +359105,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -357322,6 +359178,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -357388,30 +359277,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -357445,21 +359313,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -357809,7 +359667,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -357819,6 +359679,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -360168,6 +362044,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -360175,6 +362054,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -361440,47 +363320,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -361515,6 +363393,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -361581,30 +363492,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -361638,21 +363528,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -362002,7 +363882,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -362012,6 +363894,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -362183,18 +364081,52 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
"id": {
"type": "string"
},
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
+ },
"roles": {
"type": "array",
"items": {
"$ref": "#/definitions/Role"
}
},
- "name": {
- "type": "string"
- },
"banner": {
"type": "string"
},
@@ -362210,9 +364142,6 @@
"region": {
"type": "string"
},
- "icon": {
- "type": "string"
- },
"system_channel_id": {
"type": "string"
},
@@ -362291,30 +364220,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -362348,21 +364256,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -364558,6 +366456,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -364565,6 +366466,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -365830,47 +367732,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -365905,6 +367805,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -365971,30 +367904,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -366028,21 +367940,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -366392,7 +368294,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -366402,6 +368306,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -368735,6 +370655,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -368742,6 +370665,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -370007,47 +371931,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -370082,6 +372004,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -370148,30 +372103,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -370205,21 +372139,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -370569,7 +372493,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -370579,6 +372505,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -370750,6 +372692,9 @@
"APIPrivateUser": {
"type": "object",
"properties": {
+ "flags": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -370796,9 +372741,6 @@
"pronouns": {
"type": "string"
},
- "flags": {
- "type": "string"
- },
"mfa_enabled": {
"type": "boolean"
},
@@ -373006,6 +374948,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -373013,6 +374958,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -374278,47 +376224,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -374353,6 +376297,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -374419,30 +376396,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -374476,21 +376432,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -374840,7 +376786,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -374850,6 +376798,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -377186,6 +379150,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -377193,6 +379160,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -378458,47 +380426,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -378533,6 +380499,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -378599,30 +380598,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -378656,21 +380634,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -379020,7 +380988,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -379030,6 +381000,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -381366,6 +383352,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -381373,6 +383362,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -382638,47 +384628,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -382713,6 +384701,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -382779,30 +384800,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -382836,21 +384836,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -383200,7 +385190,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -383210,6 +385202,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -385546,6 +387554,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -385553,6 +387564,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -386818,47 +388830,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -386893,6 +388903,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -386959,30 +389002,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -387016,21 +389038,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -387380,7 +389392,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -387390,6 +389404,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -387564,6 +389594,9 @@
"newToken": {
"type": "string"
},
+ "flags": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -387610,9 +389643,6 @@
"pronouns": {
"type": "string"
},
- "flags": {
- "type": "string"
- },
"mfa_enabled": {
"type": "boolean"
},
@@ -389820,6 +391850,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -389827,6 +391860,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -391092,47 +393126,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -391167,6 +393199,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -391233,30 +393298,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -391290,21 +393334,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -391654,7 +393688,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -391664,6 +393700,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -393998,6 +396050,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -394005,6 +396060,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -395270,47 +397326,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -395345,6 +397399,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -395411,30 +397498,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -395468,21 +397534,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -395832,7 +397888,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -395842,6 +397900,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -398176,6 +400250,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -398183,6 +400260,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -399448,47 +401526,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -399523,6 +401599,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -399589,30 +401698,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -399646,21 +401734,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -400010,7 +402088,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -400020,6 +402100,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -402354,6 +404450,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -402361,6 +404460,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -403626,47 +405726,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -403701,6 +405799,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -403767,30 +405898,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -403824,21 +405934,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -404188,7 +406288,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -404198,6 +406300,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -406534,6 +408652,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -406541,6 +408662,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -407806,47 +409928,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -407881,6 +410001,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -407947,30 +410100,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -408004,21 +410136,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -408368,7 +410490,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -408378,6 +410502,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -410714,6 +412854,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -410721,6 +412864,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -411986,47 +414130,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -412061,6 +414203,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -412127,30 +414302,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -412184,21 +414338,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -412548,7 +414692,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -412558,6 +414704,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -414894,6 +417056,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -414901,6 +417066,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -416166,47 +418332,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -416241,6 +418405,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -416307,30 +418504,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -416364,21 +418540,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -416728,7 +418894,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -416738,6 +418906,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -419074,6 +421258,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -419081,6 +421268,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -420346,47 +422534,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -420421,6 +422607,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -420487,30 +422706,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -420544,21 +422742,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -420908,7 +423096,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -420918,6 +423108,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -423254,6 +425460,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -423261,6 +425470,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -424526,47 +426736,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -424601,6 +426809,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -424667,30 +426908,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -424724,21 +426944,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -425088,7 +427298,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -425098,6 +427310,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -427498,6 +429726,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -427505,6 +429736,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -428770,47 +431002,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -428845,6 +431075,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -428911,30 +431174,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -428968,21 +431210,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -429332,7 +431564,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -429342,6 +431576,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -431678,6 +433928,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -431685,6 +433938,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -432950,47 +435204,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -433025,6 +435277,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -433091,30 +435376,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -433148,21 +435412,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -433512,7 +435766,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -433522,6 +435778,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -435858,6 +438130,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -435865,6 +438140,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -437130,47 +439406,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -437205,6 +439479,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -437271,30 +439578,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -437328,21 +439614,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -437692,7 +439968,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -437702,6 +439980,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -440038,6 +442332,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -440045,6 +442342,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -441310,47 +443608,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -441385,6 +443681,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -441451,30 +443780,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -441508,21 +443816,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -441872,7 +444170,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -441882,6 +444182,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -442054,10 +444370,10 @@
"additionalProperties": false,
"type": "object",
"properties": {
- "id": {
+ "guild_id": {
"type": "string"
},
- "guild_id": {
+ "id": {
"type": "string"
},
"nick": {
@@ -444262,6 +446578,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -444269,6 +446588,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -445534,47 +447854,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -445609,6 +447927,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -445675,30 +448026,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -445732,21 +448062,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -446096,7 +448416,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -446106,6 +448428,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -448671,6 +451009,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -448678,6 +451019,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -449943,47 +452285,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -450018,6 +452358,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -450084,30 +452457,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -450141,21 +452493,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -450505,7 +452847,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -450515,6 +452859,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -452851,6 +455211,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -452858,6 +455221,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -454123,47 +456487,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -454198,6 +456560,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -454264,30 +456659,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -454321,21 +456695,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -454685,7 +457049,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -454695,6 +457061,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -457031,6 +459413,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -457038,6 +459423,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -458303,47 +460689,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -458378,6 +460762,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -458444,30 +460861,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -458501,21 +460897,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -458865,7 +461251,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -458875,6 +461263,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -461211,6 +463615,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -461218,6 +463625,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -462483,47 +464891,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -462558,6 +464964,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -462624,30 +465063,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -462681,21 +465099,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -463045,7 +465453,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -463055,6 +465465,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -465391,6 +467817,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -465398,6 +467827,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -466663,47 +469093,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -466738,6 +469166,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -466804,30 +469265,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -466861,21 +469301,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -467225,7 +469655,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -467235,6 +469667,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -469597,6 +472045,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -469604,6 +472055,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -470869,47 +473321,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -470944,6 +473394,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -471010,30 +473493,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -471067,21 +473529,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -471431,7 +473883,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -471441,6 +473895,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -473777,6 +476247,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -473784,6 +476257,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -475049,47 +477523,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -475124,6 +477596,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -475190,30 +477695,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -475247,21 +477731,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -475611,7 +478085,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -475621,6 +478097,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -477978,6 +480470,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -477985,6 +480480,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -479250,47 +481746,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -479325,6 +481819,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -479391,30 +481918,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -479448,21 +481954,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -479812,7 +482308,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -479822,6 +482320,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -482172,6 +484686,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -482179,6 +484696,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -483444,47 +485962,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -483519,6 +486035,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -483585,30 +486134,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -483642,21 +486170,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -484006,7 +486524,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -484016,6 +486536,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -484232,10 +486768,10 @@
"additionalProperties": false,
"type": "object",
"properties": {
- "id": {
+ "guild_id": {
"type": "string"
},
- "guild_id": {
+ "id": {
"type": "string"
},
"nick": {
@@ -486475,6 +489011,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -486482,6 +489021,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -487747,47 +490287,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -487822,6 +490360,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -487888,30 +490459,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -487945,21 +490495,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -488309,7 +490849,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -488319,6 +490861,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -490673,6 +493231,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -490680,6 +493241,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -491945,47 +494507,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -492020,6 +494580,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -492086,30 +494679,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -492143,21 +494715,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -492507,7 +495069,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -492517,6 +495081,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -494877,6 +497457,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -494884,6 +497467,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -496149,47 +498733,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -496224,6 +498806,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -496290,30 +498905,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -496347,21 +498941,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -496711,7 +499295,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -496721,6 +499307,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -499067,6 +501669,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -499074,6 +501679,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -500339,47 +502945,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -500414,6 +503018,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -500480,30 +503117,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -500537,21 +503153,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -500901,7 +503507,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -500911,6 +503519,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -503257,6 +505881,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -503264,6 +505891,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -504529,47 +507157,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -504604,6 +507230,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -504670,30 +507329,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -504727,21 +507365,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -505091,7 +507719,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -505101,6 +507731,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -507434,6 +510080,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -507441,6 +510090,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -508706,47 +511356,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -508781,6 +511429,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -508847,30 +511528,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -508904,21 +511564,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -509268,7 +511918,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -509278,6 +511930,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -511623,6 +514291,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -511630,6 +514301,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -512895,47 +515567,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -512970,6 +515640,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -513036,30 +515739,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -513093,21 +515775,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -513457,7 +516129,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -513467,6 +516141,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -515827,6 +518517,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -515834,6 +518527,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -517099,47 +519793,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -517174,6 +519866,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -517240,30 +519965,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -517297,21 +520001,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -517661,7 +520355,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -517671,6 +520367,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -520035,6 +522747,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -520042,6 +522757,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -521307,47 +524023,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -521382,6 +524096,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -521448,30 +524195,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -521505,21 +524231,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -521869,7 +524585,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -521879,6 +524597,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -524222,6 +526956,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -524229,6 +526966,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -525494,47 +528232,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -525569,6 +528305,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -525635,30 +528404,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -525692,21 +528440,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -526056,7 +528794,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -526066,6 +528806,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -528408,6 +531164,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -528415,6 +531174,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -529680,47 +532440,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -529755,6 +532513,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -529821,30 +532612,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -529878,21 +532648,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -530242,7 +533002,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -530252,6 +533014,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -532594,6 +535372,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -532601,6 +535382,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -533866,47 +536648,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -533941,6 +536721,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -534007,30 +536820,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -534064,21 +536856,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -534428,7 +537210,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -534438,6 +537222,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -536786,6 +539586,9 @@
},
"additionalProperties": false
},
+ "flags": {
+ "type": "integer"
+ },
"id": {
"type": "string"
}
@@ -536793,6 +539596,7 @@
"additionalProperties": false,
"required": [
"color",
+ "flags",
"guild",
"guild_id",
"hoist",
@@ -538058,47 +540862,45 @@
"type": "object",
"additionalProperties": false
},
- "id": {
+ "name": {
"type": "string"
},
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
+ "icon": {
+ "type": "string"
},
- "name": {
+ "parent": {
"type": "string"
},
- "banner": {
+ "owner_id": {
"type": "string"
},
- "unavailable": {
+ "nsfw": {
"type": "boolean"
},
- "channels": {
+ "invites": {
"type": "array",
"items": {
- "$ref": "#/definitions/Channel"
+ "$ref": "#/definitions/Invite"
}
},
- "region": {
- "type": "string"
- },
- "icon": {
- "type": "string"
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
},
- "system_channel_id": {
- "type": "string"
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
},
- "rules_channel_id": {
+ "id": {
"type": "string"
},
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
},
"assign": {
"type": "object",
@@ -538133,6 +540935,39 @@
"type": "object",
"additionalProperties": false
},
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
"afk_channel_id": {
"type": "string"
},
@@ -538199,30 +541034,9 @@
"$ref": "#/definitions/Sticker"
}
},
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "owner_id": {
- "type": "string"
- },
"preferred_locale": {
"type": "string"
},
@@ -538256,21 +541070,11 @@
"nsfw_level": {
"type": "integer"
},
- "nsfw": {
- "type": "boolean"
- },
- "parent": {
- "type": "string"
- },
"permissions": {
"type": "integer"
},
"premium_progress_bar_enabled": {
"type": "boolean"
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
}
},
"additionalProperties": false,
@@ -538620,7 +541424,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -538630,6 +541436,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
diff --git a/scripts/benchmark/connections.js b/scripts/benchmark/connections.js
deleted file mode 100644
index 4246c646..00000000
--- a/scripts/benchmark/connections.js
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
- Copyright (C) 2023 Spacebar and Spacebar Contributors
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as published
- by the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>.
-*/
-
-require("dotenv").config();
-const cluster = require("cluster");
-const WebSocket = require("ws");
-const endpoint = process.env.GATEWAY || "ws://localhost:3001";
-const connections = Number(process.env.CONNECTIONS) || 50;
-const token = process.env.TOKEN;
-var cores = 1;
-try {
- cores = Number(process.env.THREADS) || os.cpus().length;
-} catch {
- console.log("[Bundle] Failed to get thread count! Using 1...");
-}
-
-if (!token) {
- console.error("TOKEN env var missing");
- process.exit();
-}
-
-if (cluster.isMaster) {
- for (let i = 0; i < cores; i++) {
- cluster.fork();
- }
-
- cluster.on("exit", (worker, code, signal) => {
- console.log(`worker ${worker.process.pid} died`);
- });
-} else {
- for (let i = 0; i < connections; i++) {
- connect();
- }
-}
-
-function connect() {
- const client = new WebSocket(endpoint);
- client.on("message", (data) => {
- data = JSON.parse(data);
-
- switch (data.op) {
- case 10:
- client.interval = setInterval(() => {
- client.send(JSON.stringify({ op: 1 }));
- }, data.d.heartbeat_interval);
-
- client.send(
- JSON.stringify({
- op: 2,
- d: {
- token,
- properties: {},
- },
- }),
- );
-
- break;
- }
- });
- client.once("close", (code, reason) => {
- clearInterval(client.interval);
- connect();
- });
- client.on("error", (err) => {
- // console.log(err);
- });
-}
diff --git a/scripts/stress/identify.js b/scripts/stress/identify.js
new file mode 100644
index 00000000..7dea5e4d
--- /dev/null
+++ b/scripts/stress/identify.js
@@ -0,0 +1,53 @@
+/* eslint-env node */
+
+require("dotenv").config();
+const { OPCODES } = require("../../dist/gateway/util/Constants.js");
+const WebSocket = require("ws");
+const ENDPOINT = `ws://localhost:3002?v=9&encoding=json`;
+const TOKEN =
+ "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjEwOTMxMTgwMjgzNjA1MzYxMDYiLCJpYXQiOjE2ODA2OTE5MDB9.9ByCqDvC4mIutW8nM7WhVCtGuKW08UimPnmBeNw-K0E";
+const TOTAL_ITERATIONS = 500;
+
+const doTimedIdentify = () =>
+ new Promise((resolve) => {
+ let start;
+ const ws = new WebSocket(ENDPOINT);
+ ws.on("message", (data) => {
+ const parsed = JSON.parse(data);
+
+ switch (parsed.op) {
+ case OPCODES.Hello:
+ // send identify
+ start = performance.now();
+ ws.send(
+ JSON.stringify({
+ op: OPCODES.Identify,
+ d: {
+ token: TOKEN,
+ properties: {},
+ },
+ }),
+ );
+ break;
+ case OPCODES.Dispatch:
+ if (parsed.t == "READY") {
+ ws.close();
+ return resolve(performance.now() - start);
+ }
+
+ break;
+ }
+ });
+ });
+
+(async () => {
+ const perfs = [];
+ while (perfs.length < TOTAL_ITERATIONS) {
+ const ret = await doTimedIdentify();
+ perfs.push(ret);
+ // console.log(`${perfs.length}/${TOTAL_ITERATIONS} - this: ${Math.floor(ret)}ms`)
+ }
+
+ const avg = perfs.reduce((prev, curr) => prev + curr) / (perfs.length - 1);
+ console.log(`Average identify time: ${Math.floor(avg * 100) / 100}ms`);
+})();
diff --git a/scripts/benchmark/users.js b/scripts/stress/users.js
index 20f9f7c3..20f9f7c3 100644
--- a/scripts/benchmark/users.js
+++ b/scripts/stress/users.js
diff --git a/src/api/middlewares/Authentication.ts b/src/api/middlewares/Authentication.ts
index d0e4d8a0..812888a3 100644
--- a/src/api/middlewares/Authentication.ts
+++ b/src/api/middlewares/Authentication.ts
@@ -92,12 +92,7 @@ export async function Authentication(
Sentry.setUser({ id: req.user_id });
try {
- const { jwtSecret } = Config.get().security;
-
- const { decoded, user } = await checkToken(
- req.headers.authorization,
- jwtSecret,
- );
+ const { decoded, user } = await checkToken(req.headers.authorization);
req.token = decoded;
req.user_id = decoded.id;
diff --git a/src/api/routes/auth/reset.ts b/src/api/routes/auth/reset.ts
index f97045a6..cb4f8180 100644
--- a/src/api/routes/auth/reset.ts
+++ b/src/api/routes/auth/reset.ts
@@ -48,11 +48,9 @@ router.post(
async (req: Request, res: Response) => {
const { password, token } = req.body as PasswordResetSchema;
- const { jwtSecret } = Config.get().security;
-
let user;
try {
- const userTokenData = await checkToken(token, jwtSecret, true);
+ const userTokenData = await checkToken(token);
user = userTokenData.user;
} catch {
throw FieldErrors({
diff --git a/src/api/routes/auth/verify/index.ts b/src/api/routes/auth/verify/index.ts
index a98c17fa..49f74277 100644
--- a/src/api/routes/auth/verify/index.ts
+++ b/src/api/routes/auth/verify/index.ts
@@ -78,11 +78,10 @@ router.post(
}
}
- const { jwtSecret } = Config.get().security;
let user;
try {
- const userTokenData = await checkToken(token, jwtSecret, true);
+ const userTokenData = await checkToken(token);
user = userTokenData.user;
} catch {
throw FieldErrors({
diff --git a/src/api/routes/channels/#channel_id/messages/index.ts b/src/api/routes/channels/#channel_id/messages/index.ts
index 75fb7b83..edc0321c 100644
--- a/src/api/routes/channels/#channel_id/messages/index.ts
+++ b/src/api/routes/channels/#channel_id/messages/index.ts
@@ -144,44 +144,46 @@ router.get(
const endpoint = Config.get().cdn.endpointPublic;
- return res.json(
- messages.map((x: Partial<Message>) => {
- (x.reactions || []).forEach((y: Partial<Reaction>) => {
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
- //@ts-ignore
- if ((y.user_ids || []).includes(req.user_id)) y.me = true;
- delete y.user_ids;
- });
- if (!x.author)
- x.author = User.create({
- id: "4",
- discriminator: "0000",
- username: "Spacebar Ghost",
- public_flags: 0,
- });
- x.attachments?.forEach((y: Attachment) => {
- // dynamically set attachment proxy_url in case the endpoint changed
- const uri = y.proxy_url.startsWith("http")
- ? y.proxy_url
- : `https://example.org${y.proxy_url}`;
- y.proxy_url = `${endpoint == null ? "" : endpoint}${
- new URL(uri).pathname
- }`;
+ const ret = messages.map((x: Message) => {
+ x = x.toJSON();
+
+ (x.reactions || []).forEach((y: Partial<Reaction>) => {
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
+ //@ts-ignore
+ if ((y.user_ids || []).includes(req.user_id)) y.me = true;
+ delete y.user_ids;
+ });
+ if (!x.author)
+ x.author = User.create({
+ id: "4",
+ discriminator: "0000",
+ username: "Spacebar Ghost",
+ public_flags: 0,
});
+ x.attachments?.forEach((y: Attachment) => {
+ // dynamically set attachment proxy_url in case the endpoint changed
+ const uri = y.proxy_url.startsWith("http")
+ ? y.proxy_url
+ : `https://example.org${y.proxy_url}`;
+ y.proxy_url = `${endpoint == null ? "" : endpoint}${
+ new URL(uri).pathname
+ }`;
+ });
- /**
+ /**
Some clients ( discord.js ) only check if a property exists within the response,
which causes errors when, say, the `application` property is `null`.
**/
- // for (var curr in x) {
- // if (x[curr] === null)
- // delete x[curr];
- // }
+ // for (var curr in x) {
+ // if (x[curr] === null)
+ // delete x[curr];
+ // }
- return x;
- }),
- );
+ return x;
+ });
+
+ return res.json(ret);
},
);
@@ -307,9 +309,11 @@ router.post(
embeds,
channel_id,
attachments,
- edited_timestamp: undefined,
timestamp: new Date(),
});
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
+ //@ts-ignore dont care2
+ message.edited_timestamp = null;
channel.last_message_id = message.id;
diff --git a/src/api/routes/guilds/#guild_id/index.ts b/src/api/routes/guilds/#guild_id/index.ts
index afe60614..86777b36 100644
--- a/src/api/routes/guilds/#guild_id/index.ts
+++ b/src/api/routes/guilds/#guild_id/index.ts
@@ -161,7 +161,7 @@ router.patch(
const data = guild.toJSON();
// TODO: guild hashes
// TODO: fix vanity_url_code, template_id
- delete data.vanity_url_code;
+ // delete data.vanity_url_code;
delete data.template_id;
await Promise.all([
diff --git a/src/gateway/opcodes/Heartbeat.ts b/src/gateway/opcodes/Heartbeat.ts
index 7866c3e9..b9b62be3 100644
--- a/src/gateway/opcodes/Heartbeat.ts
+++ b/src/gateway/opcodes/Heartbeat.ts
@@ -25,5 +25,5 @@ export async function onHeartbeat(this: WebSocket) {
setHeartbeat(this);
- await Send(this, { op: 11 });
+ await Send(this, { op: 11, d: {} });
}
diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts
index 98fae3ed..7610901a 100644
--- a/src/gateway/opcodes/Identify.ts
+++ b/src/gateway/opcodes/Identify.ts
@@ -16,17 +16,23 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import { WebSocket, Payload } from "@spacebar/gateway";
+import {
+ WebSocket,
+ Payload,
+ setupListener,
+ Capabilities,
+ CLOSECODES,
+ OPCODES,
+ Send,
+} from "@spacebar/gateway";
import {
checkToken,
Intents,
Member,
ReadyEventData,
- User,
Session,
EVENTEnum,
Config,
- PublicMember,
PublicUser,
PrivateUserProjection,
ReadState,
@@ -36,310 +42,385 @@ import {
PrivateSessionProjection,
MemberPrivateProjection,
PresenceUpdateEvent,
- UserSettings,
IdentifySchema,
DefaultUserGuildSettings,
- UserGuildSettings,
ReadyGuildDTO,
Guild,
- UserTokenData,
- ConnectedAccount,
+ PublicUserProjection,
+ ReadyUserGuildSettingsEntries,
+ UserSettings,
+ Permissions,
+ DMChannel,
+ GuildOrUnavailable,
+ Recipient,
+ OPCodes,
} from "@spacebar/util";
-import { Send } from "../util/Send";
-import { CLOSECODES, OPCODES } from "../util/Constants";
-import { setupListener } from "../listener/listener";
-// import experiments from "./experiments.json";
-const experiments: unknown[] = [];
import { check } from "./instanceOf";
-import { Recipient } from "@spacebar/util";
// TODO: user sharding
// TODO: check privileged intents, if defined in the config
-// TODO: check if already identified
-
-// TODO: Refactor identify ( and lazyrequest, tbh )
export async function onIdentify(this: WebSocket, data: Payload) {
+ if (this.user_id) {
+ // we've already identified
+ return this.close(CLOSECODES.Already_authenticated);
+ }
+
clearTimeout(this.readyTimeout);
- // TODO: is this needed now that we use `json-bigint`?
- if (typeof data.d?.client_state?.highest_last_message_id === "number")
- data.d.client_state.highest_last_message_id += "";
- check.call(this, IdentifySchema, data.d);
+ // Check payload matches schema
+ check.call(this, IdentifySchema, data.d);
const identify: IdentifySchema = data.d;
- let decoded: UserTokenData["decoded"];
- try {
- const { jwtSecret } = Config.get().security;
- decoded = (await checkToken(identify.token, jwtSecret)).decoded; // will throw an error if invalid
- } catch (error) {
- console.error("invalid token", error);
- return this.close(CLOSECODES.Authentication_failed);
- }
- this.user_id = decoded.id;
- const session_id = this.session_id;
-
- const [
- user,
- read_states,
- members,
- recipients,
- session,
- application,
- connected_accounts,
- ] = await Promise.all([
- User.findOneOrFail({
- where: { id: this.user_id },
- relations: ["relationships", "relationships.to", "settings"],
- select: [...PrivateUserProjection, "relationships"],
- }),
- ReadState.find({ where: { user_id: this.user_id } }),
- Member.find({
- where: { id: this.user_id },
- select: MemberPrivateProjection,
- relations: [
- "guild",
- "guild.channels",
- "guild.emojis",
- "guild.roles",
- "guild.stickers",
- "user",
- "roles",
- ],
- }),
- Recipient.find({
- where: { user_id: this.user_id, closed: false },
- relations: [
- "channel",
- "channel.recipients",
- "channel.recipients.user",
- ],
- // TODO: public user selection
- }),
- // save the session and delete it when the websocket is closed
- Session.create({
- user_id: this.user_id,
- session_id: session_id,
- // TODO: check if status is only one of: online, dnd, offline, idle
- status: identify.presence?.status || "offline", //does the session always start as online?
- client_info: {
- //TODO read from identity
- client: "desktop",
- os: identify.properties?.os,
- version: 0,
- },
- activities: [],
- }).save(),
- Application.findOne({ where: { id: this.user_id } }),
- ConnectedAccount.find({ where: { user_id: this.user_id } }),
- ]);
+ this.capabilities = new Capabilities(identify.capabilities || 0);
+ const { user } = await checkToken(identify.token, {
+ relations: ["relationships", "relationships.to", "settings"],
+ select: [...PrivateUserProjection, "relationships"],
+ });
if (!user) return this.close(CLOSECODES.Authentication_failed);
- if (!user.settings) {
- user.settings = new UserSettings();
- await user.settings.save();
- }
+ this.user_id = user.id;
- if (!identify.intents) identify.intents = BigInt("0x6ffffffff");
+ // Check intents
+ if (!identify.intents) identify.intents = 30064771071n; // TODO: what is this number?
this.intents = new Intents(identify.intents);
+
+ // TODO: actually do intent things.
+
+ // Validate sharding
if (identify.shard) {
this.shard_id = identify.shard[0];
this.shard_count = identify.shard[1];
+
if (
this.shard_count == null ||
this.shard_id == null ||
- this.shard_id >= this.shard_count ||
+ this.shard_id > this.shard_count ||
this.shard_id < 0 ||
this.shard_count <= 0
) {
- console.log(identify.shard);
+ // TODO: why do we even care about this right now?
+ console.log(
+ `[Gateway] Invalid sharding from ${user.id}: ${identify.shard}`,
+ );
return this.close(CLOSECODES.Invalid_shard);
}
}
- let users: PublicUser[] = [];
- const merged_members = members.map((x: Member) => {
+ // Generate a new gateway session ( id is already made, just save it in db )
+ const session = Session.create({
+ user_id: this.user_id,
+ session_id: this.session_id,
+ status: identify.presence?.status || "online",
+ client_info: {
+ client: identify.properties?.$device,
+ os: identify.properties?.os,
+ version: 0,
+ },
+ activities: identify.presence?.activities, // TODO: validation
+ });
+
+ // Get from database:
+ // * the users read states
+ // * guild members for this user
+ // * recipients ( dm channels )
+ // * the bot application, if it exists
+ const [, application, read_states, members, recipients] = await Promise.all(
+ [
+ session.save(),
+
+ Application.findOne({
+ where: { id: this.user_id },
+ select: ["id", "flags"],
+ }),
+
+ ReadState.find({
+ where: { user_id: this.user_id },
+ select: [
+ "id",
+ "channel_id",
+ "last_message_id",
+ "last_pin_timestamp",
+ "mention_count",
+ ],
+ }),
+
+ Member.find({
+ where: { id: this.user_id },
+ select: {
+ // We only want some member props
+ ...Object.fromEntries(
+ MemberPrivateProjection.map((x) => [x, true]),
+ ),
+ settings: true, // guild settings
+ roles: { id: true }, // the full role is fetched from the `guild` relation
+
+ // TODO: we don't really need every property of
+ // guild channels, emoji, roles, stickers
+ // but we do want almost everything from guild.
+ // How do you do that without just enumerating the guild props?
+ guild: true,
+ },
+ relations: [
+ "guild",
+ "guild.channels",
+ "guild.emojis",
+ "guild.roles",
+ "guild.stickers",
+ "roles",
+
+ // For these entities, `user` is always just the logged in user we fetched above
+ // "user",
+ ],
+ }),
+
+ Recipient.find({
+ where: { user_id: this.user_id, closed: false },
+ relations: [
+ "channel",
+ "channel.recipients",
+ "channel.recipients.user",
+ ],
+ select: {
+ channel: {
+ id: true,
+ flags: true,
+ // is_spam: true, // TODO
+ last_message_id: true,
+ last_pin_timestamp: true,
+ type: true,
+ icon: true,
+ name: true,
+ owner_id: true,
+ recipients: {
+ // we don't actually need this ID or any other information about the recipient info,
+ // but typeorm does not select anything from the users relation of recipients unless we select
+ // at least one column.
+ id: true,
+ // We only want public user data for each dm channel
+ user: Object.fromEntries(
+ PublicUserProjection.map((x) => [x, true]),
+ ),
+ },
+ },
+ },
+ }),
+ ],
+ );
+
+ // We forgot to migrate user settings from the JSON column of `users`
+ // to the `user_settings` table theyre in now,
+ // so for instances that migrated, users may not have a `user_settings` row.
+ if (!user.settings) {
+ user.settings = new UserSettings();
+ await user.settings.save();
+ }
+
+ // Generate merged_members
+ const merged_members = members.map((x) => {
return [
{
...x,
roles: x.roles.map((x) => x.id),
+
+ // add back user, which we don't fetch from db
+ // TODO: For guild profiles, this may need to be changed.
+ // TODO: The only field required in the user prop is `id`,
+ // but our types are annoying so I didn't bother.
+ user: user.toPublicUser(),
+
+ guild: {
+ id: x.guild.id,
+ },
settings: undefined,
- guild: undefined,
},
];
- }) as PublicMember[][];
- // TODO: This type is bad.
- let guilds: Partial<Guild>[] = members.map((x) => ({
- ...x.guild,
- joined_at: x.joined_at,
- }));
+ });
- const pending_guilds: typeof guilds = [];
- if (user.bot)
- guilds = guilds.map((guild) => {
- pending_guilds.push(guild);
- return { id: guild.id, unavailable: true };
+ // Populated with guilds 'unavailable' currently
+ // Just for bots
+ const pending_guilds: Guild[] = [];
+
+ // Generate guilds list ( make them unavailable if user is bot )
+ const guilds: GuildOrUnavailable[] = members.map((member) => {
+ // filter guild channels we don't have permission to view
+ // TODO: check if this causes issues when the user is granted other roles?
+ member.guild.channels = member.guild.channels.filter((channel) => {
+ const perms = Permissions.finalPermission({
+ user: {
+ id: member.id,
+ roles: member.roles.map((x) => x.id),
+ },
+ guild: member.guild,
+ channel,
+ });
+
+ return perms.has("VIEW_CHANNEL");
});
- // TODO: Rewrite this. Perhaps a DTO?
- const user_guild_settings_entries = members.map((x) => ({
- ...DefaultUserGuildSettings,
- ...x.settings,
- guild_id: x.guild.id,
- channel_overrides: Object.entries(
- x.settings.channel_overrides ?? {},
- ).map((y) => ({
- ...y[1],
- channel_id: y[0],
- })),
- })) as unknown as UserGuildSettings[];
-
- const channels = recipients.map((x) => {
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
- //@ts-ignore
- x.channel.recipients = x.channel.recipients.map((x) =>
- x.user.toPublicUser(),
- );
- //TODO is this needed? check if users in group dm that are not friends are sent in the READY event
- users = users.concat(x.channel.recipients as unknown as User[]);
- if (x.channel.isDm()) {
- x.channel.recipients = x.channel.recipients?.filter(
- (x) => x.id !== this.user_id,
- );
+ if (user.bot) {
+ pending_guilds.push(member.guild);
+ return { id: member.guild.id, unavailable: true };
}
- return x.channel;
- });
- for (const relation of user.relationships) {
- const related_user = relation.to;
- const public_related_user = {
- username: related_user.username,
- discriminator: related_user.discriminator,
- id: related_user.id,
- public_flags: related_user.public_flags,
- avatar: related_user.avatar,
- bot: related_user.bot,
- bio: related_user.bio,
- premium_since: user.premium_since,
- premium_type: user.premium_type,
- accent_color: related_user.accent_color,
+ return {
+ ...member.guild.toJSON(),
+ joined_at: member.joined_at,
+
+ threads: [],
};
- users.push(public_related_user);
- }
+ });
+
+ // Generate user_guild_settings
+ const user_guild_settings_entries: ReadyUserGuildSettingsEntries[] =
+ members.map((x) => ({
+ ...DefaultUserGuildSettings,
+ ...x.settings,
+ guild_id: x.guild_id,
+ channel_overrides: Object.entries(
+ x.settings.channel_overrides ?? {},
+ ).map((y) => ({
+ ...y[1],
+ channel_id: y[0],
+ })),
+ }));
+
+ // Popultaed with users from private channels, relationships.
+ // Uses a set to dedupe for us.
+ const users: Set<PublicUser> = new Set();
+
+ // Generate dm channels from recipients list. Append recipients to `users` list
+ const channels = recipients
+ .filter(({ channel }) => channel.isDm())
+ .map((r) => {
+ // TODO: fix the types of Recipient
+ // Their channels are only ever private (I think) and thus are always DM channels
+ const channel = r.channel as DMChannel;
+
+ // Remove ourself from the list of other users in dm channel
+ channel.recipients = channel.recipients.filter(
+ (recipient) => recipient.user.id !== this.user_id,
+ );
+
+ const channelUsers = channel.recipients?.map((recipient) =>
+ recipient.user.toPublicUser(),
+ );
+
+ if (channelUsers && channelUsers.length > 0)
+ channelUsers.forEach((user) => users.add(user));
- setImmediate(async () => {
- // run in seperate "promise context" because ready payload is not dependent on those events
+ return {
+ id: channel.id,
+ flags: channel.flags,
+ last_message_id: channel.last_message_id,
+ type: channel.type,
+ recipients: channelUsers || [],
+ is_spam: false, // TODO
+ };
+ });
+
+ // From user relationships ( friends ), also append to `users` list
+ user.relationships.forEach((x) => users.add(x.to.toPublicUser()));
+
+ // Send SESSIONS_REPLACE and PRESENCE_UPDATE
+ const allSessions = (
+ await Session.find({
+ where: { user_id: this.user_id },
+ select: PrivateSessionProjection,
+ })
+ ).map((x) => ({
+ // TODO how is active determined?
+ // in our lazy request impl, we just pick the 'most relevant' session
+ active: x.session_id == session.session_id,
+ activities: x.activities,
+ client_info: x.client_info,
+ // TODO: what does all mean?
+ session_id: x.session_id == session.session_id ? "all" : x.session_id,
+ status: x.status,
+ }));
+
+ Promise.all([
emitEvent({
event: "SESSIONS_REPLACE",
user_id: this.user_id,
- data: await Session.find({
- where: { user_id: this.user_id },
- select: PrivateSessionProjection,
- }),
- } as SessionsReplace);
+ data: allSessions,
+ } as SessionsReplace),
emitEvent({
event: "PRESENCE_UPDATE",
user_id: this.user_id,
data: {
- user: await User.getPublicUser(this.user_id),
+ user: user.toPublicUser(),
activities: session.activities,
- client_status: session?.client_info,
+ client_status: session.client_info,
status: session.status,
},
- } as PresenceUpdateEvent);
- });
+ } as PresenceUpdateEvent),
+ ]);
- read_states.forEach((s: Partial<ReadState>) => {
- s.id = s.channel_id;
- delete s.user_id;
- delete s.channel_id;
- });
+ // Build READY
- const privateUser = {
- avatar: user.avatar,
- mobile: user.mobile,
- desktop: user.desktop,
- discriminator: user.discriminator,
- email: user.email,
- flags: user.flags,
- id: user.id,
- mfa_enabled: user.mfa_enabled,
- nsfw_allowed: user.nsfw_allowed,
- phone: user.phone,
- premium: user.premium,
- premium_type: user.premium_type,
- public_flags: user.public_flags,
- premium_usage_flags: user.premium_usage_flags,
- purchased_flags: user.purchased_flags,
- username: user.username,
- verified: user.verified,
- bot: user.bot,
- accent_color: user.accent_color,
- banner: user.banner,
- bio: user.bio,
- premium_since: user.premium_since,
- };
+ read_states.forEach((x) => {
+ x.id = x.channel_id;
+ });
const d: ReadyEventData = {
v: 9,
- application: {
- id: application?.id ?? "",
- flags: application?.flags ?? 0,
- }, //TODO: check this code!
- user: privateUser,
+ application: application
+ ? { id: application.id, flags: application.flags }
+ : undefined,
+ user: user.toPrivateUser(),
user_settings: user.settings,
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
- // @ts-ignore
- guilds: guilds.map((x: Guild & { joined_at: Date }) => {
- return {
- ...new ReadyGuildDTO(x).toJSON(),
- guild_hashes: {},
- joined_at: x.joined_at,
- name: x.name,
- icon: x.icon,
- };
- }),
- guild_experiments: [], // TODO
- geo_ordered_rtc_regions: [], // TODO
+ guilds: this.capabilities.has(Capabilities.FLAGS.CLIENT_STATE_V2)
+ ? guilds.map((x) => new ReadyGuildDTO(x).toJSON())
+ : guilds,
relationships: user.relationships.map((x) => x.toPublicRelationship()),
read_state: {
entries: read_states,
partial: false,
- version: 304128,
+ version: 0, // TODO
},
user_guild_settings: {
entries: user_guild_settings_entries,
- partial: false, // TODO partial
- version: 642,
+ partial: false,
+ version: 0, // TODO
},
private_channels: channels,
- session_id: session_id,
- analytics_token: "", // TODO
- connected_accounts,
- consents: {
- personalization: {
- consented: false, // TODO
- },
- },
- country_code: user.settings.locale,
- friend_suggestion_count: 0, // TODO
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
- // @ts-ignore
- experiments: experiments, // TODO
- guild_join_requests: [], // TODO what is this?
- users: users.filter((x) => x).unique(),
+ session_id: this.session_id,
+ country_code: user.settings.locale, // TODO: do ip analysis instead
+ users: Array.from(users),
merged_members: merged_members,
- // shard // TODO: only for user sharding
- sessions: [], // TODO:
+ sessions: allSessions,
+
+ resume_gateway_url:
+ Config.get().gateway.endpointClient ||
+ Config.get().gateway.endpointPublic ||
+ "ws://127.0.0.1:3001",
// lol hack whatever
required_action:
Config.get().login.requireVerification && !user.verified
? "REQUIRE_VERIFIED_EMAIL"
: undefined,
+
+ consents: {
+ personalization: {
+ consented: false, // TODO
+ },
+ },
+ experiments: [],
+ guild_join_requests: [],
+ connected_accounts: [],
+ guild_experiments: [],
+ geo_ordered_rtc_regions: [],
+ api_code_version: 1,
+ friend_suggestion_count: 0,
+ analytics_token: "",
+ tutorial: null,
+ session_type: "normal", // TODO
+ auth_session_id_hash: "", // TODO
};
- // TODO: send real proper data structure
+ // Send READY
await Send(this, {
op: OPCODES.Dispatch,
t: EVENTEnum.Ready,
@@ -347,23 +428,41 @@ export async function onIdentify(this: WebSocket, data: Payload) {
d,
});
+ // If we're a bot user, send GUILD_CREATE for each unavailable guild
await Promise.all(
- pending_guilds.map((guild) =>
+ pending_guilds.map((x) =>
Send(this, {
op: OPCODES.Dispatch,
t: EVENTEnum.GuildCreate,
s: this.sequence++,
- d: guild,
- })?.catch(console.error),
+ d: x,
+ })?.catch((e) =>
+ console.error(`[Gateway] error when sending bot guilds`, e),
+ ),
),
);
- //TODO send READY_SUPPLEMENTAL
+ // TODO: ready supplemental
+ await Send(this, {
+ op: OPCodes.DISPATCH,
+ t: EVENTEnum.ReadySupplemental,
+ s: this.sequence++,
+ d: {
+ merged_presences: {
+ guilds: [],
+ friends: [],
+ },
+ // these merged members seem to be all users currently in vc in your guilds
+ merged_members: [],
+ lazy_private_channels: [],
+ guilds: [], // { voice_states: [], id: string, embedded_activities: [] }
+ // embedded_activities are users currently in an activity?
+ disclose: [], // Config.get().general.uniqueUsernames ? ["pomelo"] : []
+ },
+ });
+
//TODO send GUILD_MEMBER_LIST_UPDATE
- //TODO send SESSIONS_REPLACE
//TODO send VOICE_STATE_UPDATE to let the client know if another device is already connected to a voice channel
await setupListener.call(this);
-
- // console.log(`${this.ipAddress} identified as ${d.user.id}`);
}
diff --git a/src/gateway/opcodes/LazyRequest.ts b/src/gateway/opcodes/LazyRequest.ts
index 77e1a25a..4ad1ae7b 100644
--- a/src/gateway/opcodes/LazyRequest.ts
+++ b/src/gateway/opcodes/LazyRequest.ts
@@ -95,7 +95,7 @@ async function getMembers(guild_id: string, range: [number, number]) {
console.error(`LazyRequest`, e);
}
- if (!members) {
+ if (!members || !members.length) {
return {
items: [],
groups: [],
diff --git a/src/gateway/util/Capabilities.ts b/src/gateway/util/Capabilities.ts
new file mode 100644
index 00000000..6c94bb45
--- /dev/null
+++ b/src/gateway/util/Capabilities.ts
@@ -0,0 +1,26 @@
+import { BitField, BitFieldResolvable, BitFlag } from "@spacebar/util";
+
+export type CapabilityResolvable = BitFieldResolvable | CapabilityString;
+type CapabilityString = keyof typeof Capabilities.FLAGS;
+
+export class Capabilities extends BitField {
+ static FLAGS = {
+ // Thanks, Opencord!
+ // https://github.com/MateriiApps/OpenCord/blob/master/app/src/main/java/com/xinto/opencord/gateway/io/Capabilities.kt
+ LAZY_USER_NOTES: BitFlag(0),
+ NO_AFFINE_USER_IDS: BitFlag(1),
+ VERSIONED_READ_STATES: BitFlag(2),
+ VERSIONED_USER_GUILD_SETTINGS: BitFlag(3),
+ DEDUPLICATE_USER_OBJECTS: BitFlag(4),
+ PRIORITIZED_READY_PAYLOAD: BitFlag(5),
+ MULTIPLE_GUILD_EXPERIMENT_POPULATIONS: BitFlag(6),
+ NON_CHANNEL_READ_STATES: BitFlag(7),
+ AUTH_TOKEN_REFRESH: BitFlag(8),
+ USER_SETTINGS_PROTO: BitFlag(9),
+ CLIENT_STATE_V2: BitFlag(10),
+ PASSIVE_GUILD_UPDATE: BitFlag(11),
+ };
+
+ any = (capability: CapabilityResolvable) => super.any(capability);
+ has = (capability: CapabilityResolvable) => super.has(capability);
+}
diff --git a/src/gateway/util/WebSocket.ts b/src/gateway/util/WebSocket.ts
index 972129c7..833756ff 100644
--- a/src/gateway/util/WebSocket.ts
+++ b/src/gateway/util/WebSocket.ts
@@ -19,6 +19,7 @@
import { Intents, ListenEventOpts, Permissions } from "@spacebar/util";
import WS from "ws";
import { Deflate, Inflate } from "fast-zlib";
+import { Capabilities } from "./Capabilities";
// import { Client } from "@spacebar/webrtc";
export interface WebSocket extends WS {
@@ -40,5 +41,6 @@ export interface WebSocket extends WS {
events: Record<string, undefined | (() => unknown)>;
member_events: Record<string, () => unknown>;
listen_options: ListenEventOpts;
+ capabilities?: Capabilities;
// client?: Client;
}
diff --git a/src/gateway/util/index.ts b/src/gateway/util/index.ts
index 627f12b2..6ef694d9 100644
--- a/src/gateway/util/index.ts
+++ b/src/gateway/util/index.ts
@@ -21,3 +21,4 @@ export * from "./Send";
export * from "./SessionUtils";
export * from "./Heartbeat";
export * from "./WebSocket";
+export * from "./Capabilities";
diff --git a/src/util/dtos/ReadyGuildDTO.ts b/src/util/dtos/ReadyGuildDTO.ts
index b21afe74..905ede74 100644
--- a/src/util/dtos/ReadyGuildDTO.ts
+++ b/src/util/dtos/ReadyGuildDTO.ts
@@ -18,13 +18,45 @@
import {
Channel,
+ ChannelOverride,
+ ChannelType,
Emoji,
Guild,
- PublicMember,
+ PublicUser,
Role,
Sticker,
+ UserGuildSettings,
+ PublicMember,
} from "../entities";
+// TODO: this is not the best place for this type
+export type ReadyUserGuildSettingsEntries = Omit<
+ UserGuildSettings,
+ "channel_overrides"
+> & {
+ channel_overrides: (ChannelOverride & { channel_id: string })[];
+};
+
+// TODO: probably should move somewhere else
+export interface ReadyPrivateChannel {
+ id: string;
+ flags: number;
+ is_spam: boolean;
+ last_message_id?: string;
+ recipients: PublicUser[];
+ type: ChannelType.DM | ChannelType.GROUP_DM;
+}
+
+export type GuildOrUnavailable =
+ | { id: string; unavailable: boolean }
+ | (Guild & { joined_at?: Date; unavailable: undefined });
+
+const guildIsAvailable = (
+ guild: GuildOrUnavailable,
+): guild is Guild & { joined_at: Date; unavailable: false } => {
+ return guild.unavailable != true;
+};
+
export interface IReadyGuildDTO {
application_command_counts?: { 1: number; 2: number; 3: number }; // ????????????
channels: Channel[];
@@ -65,12 +97,21 @@ export interface IReadyGuildDTO {
max_members: number | undefined;
nsfw_level: number | undefined;
hub_type?: unknown | null; // ????
+
+ home_header: null; // TODO
+ latest_onboarding_question_id: null; // TODO
+ safety_alerts_channel_id: null; // TODO
+ max_stage_video_channel_users: 50; // TODO
+ nsfw: boolean;
+ id: string;
};
roles: Role[];
stage_instances: unknown[];
stickers: Sticker[];
threads: unknown[];
version: string;
+ guild_hashes: unknown;
+ unavailable: boolean;
}
export class ReadyGuildDTO implements IReadyGuildDTO {
@@ -113,14 +154,30 @@ export class ReadyGuildDTO implements IReadyGuildDTO {
max_members: number | undefined;
nsfw_level: number | undefined;
hub_type?: unknown | null; // ????
+
+ home_header: null; // TODO
+ latest_onboarding_question_id: null; // TODO
+ safety_alerts_channel_id: null; // TODO
+ max_stage_video_channel_users: 50; // TODO
+ nsfw: boolean;
+ id: string;
};
roles: Role[];
stage_instances: unknown[];
stickers: Sticker[];
threads: unknown[];
version: string;
+ guild_hashes: unknown;
+ unavailable: boolean;
+ joined_at: Date;
+
+ constructor(guild: GuildOrUnavailable) {
+ if (!guildIsAvailable(guild)) {
+ this.id = guild.id;
+ this.unavailable = true;
+ return;
+ }
- constructor(guild: Guild) {
this.application_command_counts = {
1: 5,
2: 2,
@@ -164,12 +221,21 @@ export class ReadyGuildDTO implements IReadyGuildDTO {
max_members: guild.max_members,
nsfw_level: guild.nsfw_level,
hub_type: null,
+
+ home_header: null,
+ id: guild.id,
+ latest_onboarding_question_id: null,
+ max_stage_video_channel_users: 50, // TODO
+ nsfw: guild.nsfw,
+ safety_alerts_channel_id: null,
};
this.roles = guild.roles;
this.stage_instances = [];
this.stickers = guild.stickers;
this.threads = [];
this.version = "1"; // ??????
+ this.guild_hashes = {};
+ this.joined_at = guild.joined_at;
}
toJSON() {
diff --git a/src/util/entities/Channel.ts b/src/util/entities/Channel.ts
index e23d93db..38627c39 100644
--- a/src/util/entities/Channel.ts
+++ b/src/util/entities/Channel.ts
@@ -468,6 +468,18 @@ export class Channel extends BaseClass {
];
return disallowedChannelTypes.indexOf(this.type) == -1;
}
+
+ toJSON() {
+ return {
+ ...this,
+
+ // these fields are not returned depending on the type of channel
+ bitrate: this.bitrate || undefined,
+ user_limit: this.user_limit || undefined,
+ rate_limit_per_user: this.rate_limit_per_user || undefined,
+ owner_id: this.owner_id || undefined,
+ };
+ }
}
export interface ChannelPermissionOverwrite {
@@ -483,6 +495,12 @@ export enum ChannelPermissionOverwriteType {
group = 2,
}
+export interface DMChannel extends Omit<Channel, "type" | "recipients"> {
+ type: ChannelType.DM | ChannelType.GROUP_DM;
+ recipients: Recipient[];
+}
+
+// TODO: probably more props
export function isTextChannel(type: ChannelType): boolean {
switch (type) {
case ChannelType.GUILD_STORE:
diff --git a/src/util/entities/Guild.ts b/src/util/entities/Guild.ts
index e2b3e1bd..e364ed98 100644
--- a/src/util/entities/Guild.ts
+++ b/src/util/entities/Guild.ts
@@ -353,6 +353,7 @@ export class Guild extends BaseClass {
position: 0,
icon: undefined,
unicode_emoji: undefined,
+ flags: 0, // TODO?
}).save();
if (!body.channels || !body.channels.length)
@@ -389,4 +390,11 @@ export class Guild extends BaseClass {
return guild;
}
+
+ toJSON() {
+ return {
+ ...this,
+ unavailable: this.unavailable == false ? undefined : true,
+ };
+ }
}
diff --git a/src/util/entities/Message.ts b/src/util/entities/Message.ts
index 519c431e..e5390300 100644
--- a/src/util/entities/Message.ts
+++ b/src/util/entities/Message.ts
@@ -193,7 +193,7 @@ export class Message extends BaseClass {
};
@Column({ nullable: true })
- flags?: string;
+ flags?: number;
@Column({ type: "simple-json", nullable: true })
message_reference?: {
@@ -217,6 +217,30 @@ export class Message extends BaseClass {
@Column({ type: "simple-json", nullable: true })
components?: MessageComponent[];
+
+ toJSON(): Message {
+ return {
+ ...this,
+ author_id: undefined,
+ member_id: undefined,
+ guild_id: undefined,
+ webhook_id: undefined,
+ application_id: undefined,
+ nonce: undefined,
+
+ tts: this.tts ?? false,
+ guild: this.guild ?? undefined,
+ webhook: this.webhook ?? undefined,
+ interaction: this.interaction ?? undefined,
+ reactions: this.reactions ?? undefined,
+ sticker_items: this.sticker_items ?? undefined,
+ message_reference: this.message_reference ?? undefined,
+ author: this.author?.toPublicUser() ?? undefined,
+ activity: this.activity ?? undefined,
+ application: this.application ?? undefined,
+ components: this.components ?? undefined,
+ };
+ }
}
export interface MessageComponent {
diff --git a/src/util/entities/Role.ts b/src/util/entities/Role.ts
index 85877c12..3ae5efc1 100644
--- a/src/util/entities/Role.ts
+++ b/src/util/entities/Role.ts
@@ -66,4 +66,7 @@ export class Role extends BaseClass {
integration_id?: string;
premium_subscriber?: boolean;
};
+
+ @Column()
+ flags: number;
}
diff --git a/src/util/entities/User.ts b/src/util/entities/User.ts
index 3e72c3c9..3f1bda05 100644
--- a/src/util/entities/User.ts
+++ b/src/util/entities/User.ts
@@ -175,7 +175,7 @@ export class User extends BaseClass {
email?: string; // email of the user
@Column()
- flags: string = "0"; // UserFlags // TODO: generate
+ flags: number = 0; // UserFlags // TODO: generate
@Column()
public_flags: number = 0;
@@ -281,6 +281,15 @@ export class User extends BaseClass {
return user as PublicUser;
}
+ toPrivateUser() {
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ const user: any = {};
+ PrivateUserProjection.forEach((x) => {
+ user[x] = this[x];
+ });
+ return user as UserPrivate;
+ }
+
static async getPublicUser(user_id: string, opts?: FindOneOptions<User>) {
return await User.findOneOrFail({
where: { id: user_id },
diff --git a/src/util/interfaces/Event.ts b/src/util/interfaces/Event.ts
index 76a5f8d0..deb54428 100644
--- a/src/util/interfaces/Event.ts
+++ b/src/util/interfaces/Event.ts
@@ -28,7 +28,6 @@ import {
Role,
Emoji,
PublicMember,
- UserGuildSettings,
Guild,
Channel,
PublicUser,
@@ -40,6 +39,10 @@ import {
UserSettings,
IReadyGuildDTO,
ReadState,
+ UserPrivate,
+ ReadyUserGuildSettingsEntries,
+ ReadyPrivateChannel,
+ GuildOrUnavailable,
} from "@spacebar/util";
export interface Event {
@@ -68,22 +71,10 @@ export interface PublicRelationship {
export interface ReadyEventData {
v: number;
- user: PublicUser & {
- mobile: boolean;
- desktop: boolean;
- email: string | undefined;
- flags: string;
- mfa_enabled: boolean;
- nsfw_allowed: boolean;
- phone: string | undefined;
- premium: boolean;
- premium_type: number;
- verified: boolean;
- bot: boolean;
- };
- private_channels: Channel[]; // this will be empty for bots
+ user: UserPrivate;
+ private_channels: ReadyPrivateChannel[]; // this will be empty for bots
session_id: string; // resuming
- guilds: IReadyGuildDTO[];
+ guilds: IReadyGuildDTO[] | GuildOrUnavailable[]; // depends on capability
analytics_token?: string;
connected_accounts?: ConnectedAccount[];
consents?: {
@@ -115,7 +106,7 @@ export interface ReadyEventData {
version: number;
};
user_guild_settings?: {
- entries: UserGuildSettings[];
+ entries: ReadyUserGuildSettingsEntries[];
version: number;
partial: boolean;
};
@@ -127,6 +118,17 @@ export interface ReadyEventData {
// probably all users who the user is in contact with
users?: PublicUser[];
sessions: unknown[];
+ api_code_version: number;
+ tutorial: number | null;
+ resume_gateway_url: string;
+ session_type: string;
+ auth_session_id_hash: string;
+ required_action?:
+ | "REQUIRE_VERIFIED_EMAIL"
+ | "REQUIRE_VERIFIED_PHONE"
+ | "REQUIRE_CAPTCHA" // TODO: allow these to be triggered
+ | "TOS_UPDATE_ACKNOWLEDGMENT"
+ | "AGREEMENTS";
}
export interface ReadyEvent extends Event {
@@ -581,6 +583,7 @@ export type EventData =
export enum EVENTEnum {
Ready = "READY",
+ ReadySupplemental = "READY_SUPPLEMENTAL",
ChannelCreate = "CHANNEL_CREATE",
ChannelUpdate = "CHANNEL_UPDATE",
ChannelDelete = "CHANNEL_DELETE",
diff --git a/src/util/schemas/MessageCreateSchema.ts b/src/util/schemas/MessageCreateSchema.ts
index 45cd735e..7e130751 100644
--- a/src/util/schemas/MessageCreateSchema.ts
+++ b/src/util/schemas/MessageCreateSchema.ts
@@ -29,7 +29,7 @@ export interface MessageCreateSchema {
nonce?: string;
channel_id?: string;
tts?: boolean;
- flags?: string;
+ flags?: number;
embeds?: Embed[];
embed?: Embed;
// TODO: ^ embed is deprecated in favor of embeds (https://discord.com/developers/docs/resources/channel#message-object)
diff --git a/src/util/schemas/RegisterSchema.ts b/src/util/schemas/RegisterSchema.ts
index f6c99b18..7b7de9c7 100644
--- a/src/util/schemas/RegisterSchema.ts
+++ b/src/util/schemas/RegisterSchema.ts
@@ -42,4 +42,8 @@ export interface RegisterSchema {
captcha_key?: string;
promotional_email_opt_in?: boolean;
+
+ // part of pomelo
+ unique_username_registration?: boolean;
+ global_name?: string;
}
diff --git a/src/util/util/JSON.ts b/src/util/util/JSON.ts
index 1c39b66e..c7dcf47e 100644
--- a/src/util/util/JSON.ts
+++ b/src/util/util/JSON.ts
@@ -27,6 +27,16 @@ const JSONReplacer = function (
return (this[key] as Date).toISOString().replace("Z", "+00:00");
}
+ // erlpack encoding doesn't call json.stringify,
+ // so our toJSON functions don't get called.
+ // manually call it here
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
+ //@ts-ignore
+ if (this?.[key]?.toJSON)
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
+ //@ts-ignore
+ this[key] = this[key].toJSON();
+
return value;
};
diff --git a/src/util/util/Token.ts b/src/util/util/Token.ts
index 90310176..eec72522 100644
--- a/src/util/util/Token.ts
+++ b/src/util/util/Token.ts
@@ -19,94 +19,66 @@
import jwt, { VerifyOptions } from "jsonwebtoken";
import { Config } from "./Config";
import { User } from "../entities";
+// TODO: dont use deprecated APIs lol
+import {
+ FindOptionsRelationByString,
+ FindOptionsSelectByString,
+} from "typeorm";
export const JWTOptions: VerifyOptions = { algorithms: ["HS256"] };
export type UserTokenData = {
user: User;
- decoded: { id: string; iat: number };
+ decoded: { id: string; iat: number; email?: string };
};
-async function checkEmailToken(
- decoded: jwt.JwtPayload,
-): Promise<UserTokenData> {
- // eslint-disable-next-line no-async-promise-executor
- return new Promise(async (res, rej) => {
- if (!decoded.iat) return rej("Invalid Token"); // will never happen, just for typings.
-
- const user = await User.findOne({
- where: {
- email: decoded.email,
- },
- select: [
- "email",
- "id",
- "verified",
- "deleted",
- "disabled",
- "username",
- "data",
- ],
- });
-
- if (!user) return rej("Invalid Token");
-
- if (new Date().getTime() > decoded.iat * 1000 + 86400 * 1000)
- return rej("Invalid Token");
-
- // Using as here because we assert `id` and `iat` are in decoded.
- // TS just doesn't want to assume its there, though.
- return res({ decoded, user } as UserTokenData);
- });
-}
-
-export function checkToken(
+export const checkToken = (
token: string,
- jwtSecret: string,
- isEmailVerification = false,
-): Promise<UserTokenData> {
- return new Promise((res, rej) => {
- token = token.replace("Bot ", "");
- token = token.replace("Bearer ", "");
- /**
- in spacebar, even with instances that have bot distinction; we won't enforce "Bot" prefix,
- as we don't really have separate pathways for bots
- **/
-
- jwt.verify(token, jwtSecret, JWTOptions, async (err, decoded) => {
- if (err || !decoded) return rej("Invalid Token");
- if (
- typeof decoded == "string" ||
- !("id" in decoded) ||
- !decoded.iat
- )
- return rej("Invalid Token"); // will never happen, just for typings.
-
- if (isEmailVerification) return res(checkEmailToken(decoded));
-
- const user = await User.findOne({
- where: { id: decoded.id },
- select: ["data", "bot", "disabled", "deleted", "rights"],
- });
-
- if (!user) return rej("Invalid Token");
-
- // we need to round it to seconds as it saved as seconds in jwt iat and valid_tokens_since is stored in milliseconds
- if (
- decoded.iat * 1000 <
- new Date(user.data.valid_tokens_since).setSeconds(0, 0)
- )
- return rej("Invalid Token");
-
- if (user.disabled) return rej("User disabled");
- if (user.deleted) return rej("User not found");
-
- // Using as here because we assert `id` and `iat` are in decoded.
- // TS just doesn't want to assume its there, though.
- return res({ decoded, user } as UserTokenData);
- });
+ opts?: {
+ select?: FindOptionsSelectByString<User>;
+ relations?: FindOptionsRelationByString;
+ },
+): Promise<UserTokenData> =>
+ new Promise((resolve, reject) => {
+ jwt.verify(
+ token,
+ Config.get().security.jwtSecret,
+ JWTOptions,
+ async (err, out) => {
+ const decoded = out as UserTokenData["decoded"];
+ if (err || !decoded) return reject("Invalid Token");
+
+ const user = await User.findOne({
+ where: decoded.email
+ ? { email: decoded.email }
+ : { id: decoded.id },
+ select: [
+ ...(opts?.select || []),
+ "bot",
+ "disabled",
+ "deleted",
+ "rights",
+ "data",
+ ],
+ relations: opts?.relations,
+ });
+
+ if (!user) return reject("User not found");
+
+ // we need to round it to seconds as it saved as seconds in jwt iat and valid_tokens_since is stored in milliseconds
+ if (
+ decoded.iat * 1000 <
+ new Date(user.data.valid_tokens_since).setSeconds(0, 0)
+ )
+ return reject("Invalid Token");
+
+ if (user.disabled) return reject("User disabled");
+ if (user.deleted) return reject("User not found");
+
+ return resolve({ decoded, user });
+ },
+ );
});
-}
export async function generateToken(id: string, email?: string) {
const iat = Math.floor(Date.now() / 1000);
|