#parent_id CHANNEL_PARENT_INVALID: Category does not exist
1 messages · Page 1 of 1 (latest)
^
po = [
interactions.PermissionOverwrite(id=ctx.guild.id, type=0, deny=interactions.Permissions.VIEW_CHANNEL),
interactions.PermissionOverwrite(id=ctx.author.id, type=1, allow=interactions.Permissions.VIEW_CHANNEL),
interactions.PermissionOverwrite(id=1367449111636213797, type=0, allow=interactions.Permissions.VIEW_CHANNEL)
]
close_button = interactions.Button(style=interactions.ButtonStyle.DANGER, label='Ticket Schließen', emoji='🔒', custom_id='ticket_close')
channel = await ctx.guild.create_channel(channel_type=interactions.ChannelType.GUILD_TEXT, name=f'{ctx.author.display_name}-stream', permission_overwrites=po, category=1382473516800016565)
The category exists
POST::https://discord.com/api/v10/guilds/1367449111636213791/channels: 400
Ignoring exception in Component Callback for ticket_entbannung: HTTPException: 400|Bad Request: parent_id CHANNEL_PARENT_INVALID: Category does not exist
move channel type after category 🤷♂️ @fluid girder
channel = await ctx.guild.create_channel(name=f'{ctx.author.display_name}-stream', category=1382473516800016565, channel_type=interactions.ChannelType.GUILD_TEXT, permission_overwrites=po)
@fluid girder
that's the way it works with my bot 🤷♂️. check perms of the bot, or delete and add a new category