Alchemy.Client.create_channel

You're seeing just the function create_channel, go back to Alchemy.Client module for more information.
Link to this function

create_channel(guild_id, name, options \\ [])

Specs

create_channel(snowflake(), String.t(),
  voice: Boolean,
  bitrate: Integer,
  user_limit: Integer
) :: {:ok, Alchemy.Channel.t()} | {:error, term()}

Creates a new channel in a guild.

Requires the MANAGE_CHANNELS permission.

Options

  • voice Setting this creates a new voice channel.
  • bitrate Sets the bitrate (bits) for a voice channel.
  • user_limit Sets the max amount of users for a voice channel.
  • permission_overwrites An overwrite for permissions in that channel

    Examples

    Client.create_channel(guild_id)