VoiceChannelBuilderImpl

class VoiceChannelBuilderImpl(val yde: YDE, val guildId: String?, val name: String) : VoiceChannelBuilder(source)

Constructors

Link copied to clipboard
constructor(yde: YDE, guildId: String?, name: String)

Functions

Link copied to clipboard
open override fun create(): CompletableDeferred<GuildVoiceChannel>

Creates the new entity.

Link copied to clipboard
open override fun isStageChannel(): VoiceChannelBuilder

Weather this channel is a voice channel or stage channel.

Link copied to clipboard
open override fun setBitrate(bitrate: Int): VoiceChannelBuilder

Sets the bitrate of the channel.

Link copied to clipboard
open override fun setParentId(parentId: String): VoiceChannelBuilder

Sets the parent id of the channel.

Link copied to clipboard
open override fun setPermissionOverwrites(permissionOverwrites: List<PermissionOverwrite>): VoiceChannelBuilder

Sets the permission overwrites of the channel.

Link copied to clipboard
open override fun setPosition(position: Int): VoiceChannelBuilder

Sets the position of the channel.

Link copied to clipboard
open override fun setUserLimit(userLimit: Int): VoiceChannelBuilder

Sets the user limit of the channel.

Properties

Link copied to clipboard
Link copied to clipboard
open override val json: JsonNode

The json that will be sent to the discord api.

Link copied to clipboard
Link copied to clipboard
val yde: YDE