MessageChannelBuilderImpl

class MessageChannelBuilderImpl(val yde: YDE, val guildId: String?, val name: String) : MessageChannelBuilder(source)

Constructors

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

Functions

Link copied to clipboard
open override 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
open override fun setNsfw(nsfw: Boolean): MessageChannelBuilder

Sets the nsfw flag of the channel.

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

Sets the parent id of the channel.

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

Sets the permission overwrites of the channel.

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

Sets the position of the channel.

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

Sets the rate limit per user of the channel.

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

Sets the topic 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