Androz2091 / Androz2091/discord-backup
Problem while loading stage channels in v3.4.0
- Langage dominant
- TypeScript
- Étoiles
- 485
- Forks
- 90
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
```js
throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
^
DiscordAPIError[50035]: Invalid Form Body
user_limit[NUMBER_TYPE_MAX]: int value should be less than or equal to 99.
at handleErrors (M:\Development\xeno\node_modules\@discordjs\rest\dist\index.js:748:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async SequentialHandler.runRequest (M:\Development\xeno\node_modules\@discordjs\rest\dist\index.js:1149:23)
at async SequentialHandler.queueRequest (M:\Development\xeno\node_modules\@discordjs\rest\dist\index.js:980:14)
at async _REST.request (M:\Development\xeno\node_modules\@discordjs\rest\dist\index.js:1293:22)
at async GuildChannelManager.create (M:\Development\xeno\node_modules\discord.js\src\managers\GuildChannelManager.js:183:18) {
requestBody: {
files: undefined,
json: {
name: '💐┋・Stage¹',
topic: undefined,
type: 2,
nsfw: undefined,
bitrate: 64000,
user_limit: 10000,
parent_id: '1395002305119649872',
position: undefined,
permission_overwrites: undefined,
rate_limit_per_user: undefined,
rtc_region: undefined,
video_quality_mode: undefined,
default_thread_rate_limit_per_user: undefined,
available_tags: undefined,
default_reaction_emoji: undefined,
default_auto_archive_duration: undefined,
default_sort_order: undefined,
default_forum_layout: undefined
}
},
rawError: {
message: 'Invalid Form Body',
code: 50035,
errors: {
user_limit: {
_errors: [
{
code: 'NUMBER_TYPE_MAX',
message: 'int value should be less than or equal to 99.'
}
]
}
}
},
code: 50035,
status: 400,
method: 'POST',
url: 'https://discord.com/api/v10/guilds/1395001316245504101/channels'
}
Node.js v22.16.0
```
It crashes when trying to make stage channel :(
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.