GuildCreateBuilder

Constructors

Link copied to clipboard
constructor(name: String)

Properties

Link copied to clipboard

The id of the afk channel, this channel can be configured by supplying a channel with the same id.

Link copied to clipboard

The afk timeout.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var icon: Image?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Iterator that generates unique ids for roles and channels.

Link copied to clipboard

The id of the channel to which system messages are sent, this channel can be configured by supplying a channel with the same id.

Link copied to clipboard

Functions

Link copied to clipboard
inline fun category(name: String, id: Snowflake = newUniqueSnowflake(), builder: CategoryCreateBuilder.() -> Unit): Snowflake
Link copied to clipboard
inline fun everyoneRole(builder: RoleCreateBuilder.() -> Unit)
Link copied to clipboard
inline fun forumChannel(name: String, id: Snowflake = newUniqueSnowflake(), builder: ForumChannelCreateBuilder.() -> Unit): Snowflake
Link copied to clipboard
inline fun mediaChannel(name: String, id: Snowflake = newUniqueSnowflake(), builder: MediaChannelCreateBuilder.() -> Unit): Snowflake
Link copied to clipboard
inline fun newsChannel(name: String, id: Snowflake = newUniqueSnowflake(), builder: NewsChannelCreateBuilder.() -> Unit): Snowflake
Link copied to clipboard

Generates a new unique Snowflake using the snowflakeGenerator.

Link copied to clipboard
inline fun role(id: Snowflake = newUniqueSnowflake(), builder: RoleCreateBuilder.() -> Unit): Snowflake
Link copied to clipboard
inline fun textChannel(name: String, id: Snowflake = newUniqueSnowflake(), builder: TextChannelCreateBuilder.() -> Unit): Snowflake
Link copied to clipboard
open override fun toRequest(): GuildCreateRequest