creating channel under specific category
hi!! i'm trying to have the bot create a channel under the category of the channel the command was sent in(command makes a button that, when clicked, makes the channel), but i'm not sure how to do that (i found one site where they made a category and then set the parent to that category, but i want to put the channel under an already-made category)
6 Replies
this is my code for creating the channel!
i don't know how to get the parent, which is why it's crashing rn 🥲
interaction.channel
not interaction.guild.channel
wait so
interaction.channel.parent
?yeah
ohh thank u!