Create TextChannels

How do I do it?
54 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs2y ago
method GuildChannelManager#create() Creates a new channel in the guild.
布鲁诺 普雷托
It doesnt work
j
j2y ago
and why “doesnt it work”
布鲁诺 普雷托
I want to create a text channel according to a selected option from a menu
j
j2y ago
and is there an error since it doesnt work?
布鲁诺 普雷托
no error, but no channel is created nor guild @jay.js
j
j2y ago
define guild
布鲁诺 普雷托
The cid is the ID of the categories I want to create text channels inside them
j
j2y ago
use parent:
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
What would be the solution then?
j
j2y ago
dont use the same id? meguFace
布鲁诺 普雷托
what should be the defenition of the guild?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
But it doesnt create under the category I want 😦
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
I did it does not work
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
it keeps spawning em in the main thinghy
Unknown User
Unknown User2y 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 User2y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
still nothin
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
still nothin
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
I tried that way too did not work
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
still nothin I am tried every possible combinationº nothin works 😐
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
they are bein created but in the wrong spot
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Unknown User
Unknown User2y 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 User2y ago
Message Not Public
Sign In & Join Server To View
布鲁诺 普雷托
Btw you know how I can limit a menu to a single user reply?
j
j2y ago
just edit the same message with components: as an empty array and then boom only 1 use
布鲁诺 普雷托
wont that affect all members?
j
j2y 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
j
j2y 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