GuildBuilderImpl

class GuildBuilderImpl(val yde: YDE, val name: String) : GuildBuilder(source)

Constructors

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

Functions

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

Creates the new entity.

Link copied to clipboard
open override fun setAfkChannelId(afkChannelId: String): GuildBuilder

Sets the afk channel id of the guild.

Link copied to clipboard
open override fun setAfkTimeout(afkTimeout: Int): GuildBuilder

Sets the afk timeout of the guild.

Link copied to clipboard
open override fun setDefaultMessageNotifications(defaultMessageNotifications: MessageNotificationLevel): GuildBuilder

Sets the default message notification level of the guild.

Link copied to clipboard
open override fun setExplicitContentFilter(explicitContentFilter: ExplicitContentFilterLevel): GuildBuilder

Sets the explicit content filter level of the guild.

Link copied to clipboard
open override fun setIcon(icon: String): GuildBuilder

Sets the icon of the guild.

Link copied to clipboard

Sets the message channels of the guild.

Link copied to clipboard
open override fun setRoles(roles: List<RoleBuilder>): GuildBuilder

Sets the roles of the guild.

Link copied to clipboard
open override fun setSystemChannelFlags(systemChannelFlags: SystemChannelFlag): GuildBuilder

Sets the system channel flags of the guild.

Link copied to clipboard
open override fun setSystemChannelId(systemChannelId: String): GuildBuilder

Sets the system channel id of the guild.

Link copied to clipboard
open override fun setVerificationLevel(verificationLevel: VerificationLevel): GuildBuilder

Sets the verification level of the guild.

Link copied to clipboard
open override fun setVoiceChannels(channels: List<VoiceChannelBuilder>): GuildBuilder

Sets the voice channels of the guild.

Properties

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