Functions

Link copied to clipboard
abstract fun create(): CompletableDeferred<GuildMessageChannel>

Creates the new entity.

Link copied to clipboard

Weather this channel is a text or news channel.

Link copied to clipboard

Sets the nsfw flag of the channel.

Link copied to clipboard
abstract fun setParentId(parentId: String): MessageChannelBuilder

Sets the parent id of the channel.

Link copied to clipboard

Sets the permission overwrites of the channel.

Link copied to clipboard
abstract fun setPosition(position: Int): MessageChannelBuilder

Sets the position of the channel.

Link copied to clipboard
abstract fun setRateLimitPerUser(rateLimitPerUser: Int): MessageChannelBuilder

Sets the rate limit per user of the channel.

Link copied to clipboard
abstract fun setTopic(topic: String): MessageChannelBuilder

Sets the topic of the channel.

Properties

Link copied to clipboard
abstract val json: JsonNode

The json that will be sent to the discord api.