Categories cannot have subcategories api error

Got this error:
DiscordAPIError[50035]: Invalid Form Body
parent_id[CHANNEL_PARENT_INVALID_PARENT]: Categories cannot have subcategories
DiscordAPIError[50035]: Invalid Form Body
parent_id[CHANNEL_PARENT_INVALID_PARENT]: Categories cannot have subcategories
the other day with a command that moves a channel to another category. Really confused what it means by subcategories here or how this error could come about so seeking advice. Or what could constitute an invalid channel parent? In my slash command I filter the category option with ChannelType.GuildCategory
2 Replies
Lioness100
Lioness100β€’10mo ago
It looks like you tried to move a category into another category. Please show your code so we can assist further πŸ™‚
Ravelt
Raveltβ€’10mo ago
Oh ok I figured out my issue then thanks
Want results from more Discord servers?
Add your server
More Posts
TypeError: Cannot read properties of undefined (reading 'client')**Full Error:** ```js TypeError: Cannot read properties of undefined (reading 'client') at ObjecmessageCommandDeniedis it ok to delete this file, would something happend? I don't use it in any of my commands, most ofi18n not part of sapphire containerHello guys, I just updated my i18n plugin to the latest version (5.1.0) and noticed that since versCommand.ChatInputCommandInteraction GuildMember.voice not updating```ts public async play(interaction : Command.ChatInputCommandInteraction) { const Unsync slash commandsIs there a way to delete previously synced commands. I have some slash commands created in the past Error [EMPTY_MODULE]: A compatible class export was not found.Not sure what's causing this error Here is my code and file tree ```bash └───src β”œβ”€β”€β”€apis β”œSync Slash Commands with one GuildHello, I have a test server which i use to test my bots, I am new to sapphire, and by reading the docant receive dm messages from the 'messageCreate' event even after enabling the channel partialI am trying to create a modmail system but the bot doesnt seem to get any dms from the messageCreateGuildMemberRemove not runningI just think I'm overlooking something but... I'm trying to do something if a member leaves the guiRetrieve which subcommand was ran from message and interactionIve been wondering if it is possible to retrieve which subcommand was ran or to get only the arg wit