#I need help in channel creating

1 messages · Page 1 of 1 (latest)

bronze scarabBOT
#

Hey! Once your issue is solved, press the button below to close this thread!

hoary topaz
#

Are you trying to create the category or the channel

#

interactions.Guild has a couple of methods for creating, but I would fetch all channels first (since categories are a channel type) and check for the category if it exists first

#

You can use the .create_category(name: str) and .create_channel(...) methods

hoary topaz
#

no clue how you wrote the conditioning logic

#

are you handling the button callback?

hoary topaz
#

I advise sharing your code once you're back so I can further evaluate

solemn plover
#

full code

#

then we cannot help much

wild basin
#

Discord doesn't provide you with the ease of getting categories