GuildScheduledEventBehavior

Behavior of a ADD LINK.

Inheritors

Properties

Link copied to clipboard
abstract val guildId: Snowflake
Link copied to clipboard
abstract val id: Snowflake

The unique identifier of this entity.

Link copied to clipboard
abstract val kord: Kord

The kord instance that created this object.

Link copied to clipboard
open val members: Flow<Member>
Link copied to clipboard
abstract val supplier: EntitySupplier

The supplier used to request entities.

Link copied to clipboard
open val users: Flow<User>

Requests all the users which are interested in this event.

Functions

Link copied to clipboard

Requests to get this behavior as a GuildScheduledEvent.

Link copied to clipboard

Requests to get this behavior as a Guild, returns null if the event isn't present.

Link copied to clipboard
open operator override fun compareTo(other: Entity): Int

Compares entities on id.

Link copied to clipboard
open suspend fun delete()

Deletes this event.

Link copied to clipboard

Requests to modify this event according to the specified builder.

Link copied to clipboard

Fetches this behavior as a GuildScheduledEvent.

Link copied to clipboard

Fetches this behavior as a GuildScheduledEvent, returns null if the event isn't present.

Link copied to clipboard
open fun getMembersAfter(after: Snowflake, limit: Int? = null): Flow<Member>
Link copied to clipboard
open fun getMembersBefore(before: Snowflake, limit: Int? = null): Flow<Member>
Link copied to clipboard
open fun getUsersAfter(after: Snowflake, limit: Int? = null): Flow<User>
Link copied to clipboard
open fun getUsersBefore(before: Snowflake, limit: Int? = null): Flow<User>
Link copied to clipboard
abstract fun withStrategy(strategy: EntitySupplyStrategy<*>): Strategizable

Returns a copy of this class with a new supplier provided by the strategy.