create channel

It says every time failed error: Error: DiscordAPIError[50035]: Invalid Form Body name[BASE_TYPE_REQUIRED]: This field is required
No description
5 Replies
d.js toolkit
d.js toolkit4mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
MoinAmMorgen
MoinAmMorgen4mo ago
Does it say which line the error is on? Or just screenshot the entire error and send it in here You can’t set the channel type with a string either Yeah, but he didn’t say which version he’s on So I just went with v14 If you’re on v14, use ChannelType.GuildText
Toxicsweater
Toxicsweater4mo ago
Hi bro, I forgot to send the name in the code, but the name is in the ‘ ’ it’s test123 After guild channels create iam using v18.15.0 14.14.1 sry lmao
d.js docs
d.js docs4mo ago
:method: GuildChannelManager#create() Creates a new channel in the guild.
Toxicsweater
Toxicsweater4mo ago
ty bro, ill look at that