LiveRole
class LiveRole(role: Role, coroutineScope: CoroutineScope = role.kord + SupervisorJob(role.kord.coroutineContext.job)) : AbstractLiveKordEntity, KordEntity(source)
Constructors
Link copied to clipboard
constructor(role: Role, coroutineScope: CoroutineScope = role.kord + SupervisorJob(role.kord.coroutineContext.job))
Functions
Link copied to clipboard
inline fun <T : Event> LiveKordEntity.on(scope: CoroutineScope = this, noinline consumer: suspend (T) -> Unit): Job
Link copied to clipboard
Link copied to clipboard