• Returns

    • The newly-created category channel

    Parameters

    • name: string

      The name for the category

    • ChannelManager: GuildChannelManager

      A channel manager for a guild, can be obtained using interaction.guild.channels

    • Optional role: Role = undefined

      A role to lock the channel to, unlocked by default

    Returns Promise<CategoryChannel | undefined>

Generated using TypeDoc