fix: allow rate_limit_per_user on channel creation (#1401)

This commit is contained in:
Jiralite authored and GitHub committed 2026-07-13 21:57:07 +00:00
1 parent 04da3e6a6c
commit 6ebb43d10d
4 files changed
+58 -24

No files matched your search

+32 -16
View File
@@ -27597,6 +27597,10 @@
},
"description": "Permission overwrites for roles and members"
},
"rate_limit_per_user": {
"anyOf": [{"type": "integer", "minimum": 0, "maximum": 21600, "format": "int32"}, {"type": "null"}],
"description": "Slowmode delay in seconds (0-21600)"
},
"nsfw": {
"anyOf": [{"type": "boolean"}, {"type": "null"}],
"description": "Legacy: setting true maps to nsfw_override=true; setting false maps to nsfw_override=null (inherit). Prefer nsfw_override."
@@ -27610,10 +27614,6 @@
"anyOf": [{"type": "string", "maxLength": 200}, {"type": "null"}],
"description": "Custom channel content warning text (max 200 characters); null inherits from parent or guild"
},
"rate_limit_per_user": {
"anyOf": [{"type": "integer", "minimum": 0, "maximum": 21600, "format": "int32"}, {"type": "null"}],
"description": "Slowmode delay in seconds (0-21600)"
},
"icon": {
"anyOf": [{"$ref": "#/components/schemas/Base64ImageType"}, {"type": "null"}],
"description": "Base64-encoded icon image for group DM channels"
@@ -27691,6 +27691,10 @@
},
"description": "Permission overwrites for roles and members"
},
"rate_limit_per_user": {
"anyOf": [{"type": "integer", "minimum": 0, "maximum": 21600, "format": "int32"}, {"type": "null"}],
"description": "Slowmode delay in seconds (0-21600)"
},
"nsfw": {
"anyOf": [{"type": "boolean"}, {"type": "null"}],
"description": "Legacy: setting true maps to nsfw_override=true; setting false maps to nsfw_override=null (inherit). Prefer nsfw_override."
@@ -27704,10 +27708,6 @@
"anyOf": [{"type": "string", "maxLength": 200}, {"type": "null"}],
"description": "Custom channel content warning text (max 200 characters); null inherits from parent or guild"
},
"rate_limit_per_user": {
"anyOf": [{"type": "integer", "minimum": 0, "maximum": 21600, "format": "int32"}, {"type": "null"}],
"description": "Slowmode delay in seconds (0-21600)"
},
"icon": {
"anyOf": [{"$ref": "#/components/schemas/Base64ImageType"}, {"type": "null"}],
"description": "Base64-encoded icon image for group DM channels"
@@ -27775,6 +27775,10 @@
},
"description": "Permission overwrites for roles and members"
},
"rate_limit_per_user": {
"anyOf": [{"type": "integer", "minimum": 0, "maximum": 21600, "format": "int32"}, {"type": "null"}],
"description": "Slowmode delay in seconds (0-21600)"
},
"nsfw": {
"anyOf": [{"type": "boolean"}, {"type": "null"}],
"description": "Legacy: setting true maps to nsfw_override=true; setting false maps to nsfw_override=null (inherit). Prefer nsfw_override."
@@ -27788,10 +27792,6 @@
"anyOf": [{"type": "string", "maxLength": 200}, {"type": "null"}],
"description": "Custom channel content warning text (max 200 characters); null inherits from parent or guild"
},
"rate_limit_per_user": {
"anyOf": [{"type": "integer", "minimum": 0, "maximum": 21600, "format": "int32"}, {"type": "null"}],
"description": "Slowmode delay in seconds (0-21600)"
},
"icon": {
"anyOf": [{"$ref": "#/components/schemas/Base64ImageType"}, {"type": "null"}],
"description": "Base64-encoded icon image for group DM channels"
@@ -27859,6 +27859,10 @@
},
"description": "Permission overwrites for roles and members"
},
"rate_limit_per_user": {
"anyOf": [{"type": "integer", "minimum": 0, "maximum": 21600, "format": "int32"}, {"type": "null"}],
"description": "Slowmode delay in seconds (0-21600)"
},
"nsfw": {
"anyOf": [{"type": "boolean"}, {"type": "null"}],
"description": "Legacy: setting true maps to nsfw_override=true; setting false maps to nsfw_override=null (inherit). Prefer nsfw_override."
@@ -27872,10 +27876,6 @@
"anyOf": [{"type": "string", "maxLength": 200}, {"type": "null"}],
"description": "Custom channel content warning text (max 200 characters); null inherits from parent or guild"
},
"rate_limit_per_user": {
"anyOf": [{"type": "integer", "minimum": 0, "maximum": 21600, "format": "int32"}, {"type": "null"}],
"description": "Slowmode delay in seconds (0-21600)"
},
"icon": {
"anyOf": [{"$ref": "#/components/schemas/Base64ImageType"}, {"type": "null"}],
"description": "Base64-encoded icon image for group DM channels"
@@ -30814,6 +30814,10 @@
},
"description": "Permission overwrites for roles and members"
},
"rate_limit_per_user": {
"anyOf": [{"type": "integer", "minimum": 0, "maximum": 21600, "format": "int32"}, {"type": "null"}],
"description": "Slowmode delay in seconds (0-21600)"
},
"nsfw": {"type": "boolean", "description": "Whether the channel is marked as NSFW"},
"nsfw_override": {
"anyOf": [{"type": "boolean"}, {"type": "null"}],
@@ -30878,6 +30882,10 @@
},
"description": "Permission overwrites for roles and members"
},
"rate_limit_per_user": {
"anyOf": [{"type": "integer", "minimum": 0, "maximum": 21600, "format": "int32"}, {"type": "null"}],
"description": "Slowmode delay in seconds (0-21600)"
},
"nsfw": {"type": "boolean", "description": "Whether the channel is marked as NSFW"},
"nsfw_override": {
"anyOf": [{"type": "boolean"}, {"type": "null"}],
@@ -30942,6 +30950,10 @@
},
"description": "Permission overwrites for roles and members"
},
"rate_limit_per_user": {
"anyOf": [{"type": "integer", "minimum": 0, "maximum": 21600, "format": "int32"}, {"type": "null"}],
"description": "Slowmode delay in seconds (0-21600)"
},
"nsfw": {"type": "boolean", "description": "Whether the channel is marked as NSFW"},
"nsfw_override": {
"anyOf": [{"type": "boolean"}, {"type": "null"}],
@@ -31006,6 +31018,10 @@
},
"description": "Permission overwrites for roles and members"
},
"rate_limit_per_user": {
"anyOf": [{"type": "integer", "minimum": 0, "maximum": 21600, "format": "int32"}, {"type": "null"}],
"description": "Slowmode delay in seconds (0-21600)"
},
"nsfw": {"type": "boolean", "description": "Whether the channel is marked as NSFW"},
"nsfw_override": {
"anyOf": [{"type": "boolean"}, {"type": "null"}],