createChannel

open override fun createChannel(name: String): ChannelBuilder(source)

Creates a new channel. This is used when creating a new guild as you don't need to specify a guild id.

Return

a new channel builder

Parameters

name

the name of the channel

See also


open override fun createChannel(name: String, guildId: String): ChannelBuilder(source)

Creates a new channel for a specific guild.

Return

a new channel builder

Parameters

name

the name of the channel

guildId

the id of the guild