RoleDeleteEvent

class RoleDeleteEvent(guildId: Snowflake, roleId: Snowflake, role: Role?, kord: Kord, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : Event, CoroutineScope, Strategizable

Functions

getGuild
Link copied to clipboard
suspend fun getGuild(): Guild
getGuildOrNull
Link copied to clipboard
suspend fun getGuildOrNull(): Guild?
toString
Link copied to clipboard
open override fun toString(): String
withStrategy
Link copied to clipboard
open override fun withStrategy(strategy: EntitySupplyStrategy<*>): RoleDeleteEvent
Returns a copy of this class with a new supplier provided by the strategy.

Properties

coroutineContext
Link copied to clipboard
open override val coroutineContext: CoroutineContext
coroutineScope
Link copied to clipboard
val coroutineScope: CoroutineScope
gateway
Link copied to clipboard
open val gateway: Gateway
The Gateway that spawned this event.
guild
Link copied to clipboard
val guild: GuildBehavior
guildId
Link copied to clipboard
val guildId: Snowflake
kord
Link copied to clipboard
open override val kord: Kord
role
Link copied to clipboard
val role: Role?
roleId
Link copied to clipboard
val roleId: Snowflake
shard
Link copied to clipboard
open override val shard: Int
The shard number of the gateway that spawned this event.
supplier
Link copied to clipboard
open override val supplier: EntitySupplier
The supplier used to request entities.

Sources

jvm source
Link copied to clipboard