Create TextChannels

How do I do it?
54 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs3y ago
method GuildChannelManager#create() Creates a new channel in the guild.
布鲁诺 普雷托
It doesnt work
jay
jay3y ago
and why “doesnt it work”
布鲁诺 普雷托
I want to create a text channel according to a selected option from a menu
jay
jay3y ago
and is there an error since it doesnt work?
布鲁诺 普雷托
no error, but no channel is created nor guild @jay.js
jay
jay3y ago
define guild
布鲁诺 普雷托
The cid is the ID of the categories I want to create text channels inside them
jay
jay3y ago
use parent:
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
What would be the solution then?
jay
jay3y ago
dont use the same id? meguFace
布鲁诺 普雷托
what should be the defenition of the guild?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
But it doesnt create under the category I want 😦
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
I did it does not work
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
it keeps spawning em in the main thinghy
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
the id I want to provid is the value of the menu selected option
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
still nothin
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
still nothin
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
I tried that way too did not work
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
still nothin I am tried every possible combinationº nothin works 😐
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
they are bein created but in the wrong spot
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
its done now I had the categories collapsed the
parent: interaction.values[0]
parent: interaction.values[0]
did the trick
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
Btw you know how I can limit a menu to a single user reply?
jay
jay3y ago
just edit the same message with components: as an empty array and then boom only 1 use
布鲁诺 普雷托
wont that affect all members?
jay
jay3y ago
why would you want all members to use this
布鲁诺 普雷托
The idea is that all members select one of the options and then get a channel created for them something like a ticket system i guess
jay
jay3y ago
which is very spammy in the wrong hands
布鲁诺 普雷托
Its only for a single discord server an onlinne game I hope i wont struggle with this one 6 hours too
Want results from more Discord servers?
Add your server