LiveMember
class LiveMember(member: Member, coroutineScope: CoroutineScope = member.kord + SupervisorJob(member.kord.coroutineContext.job)) : AbstractLiveKordEntity, KordEntity(source)
Constructors
Link copied to clipboard
constructor(member: Member, coroutineScope: CoroutineScope = member.kord + SupervisorJob(member.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
fun LiveMember.onUpdate(scope: CoroutineScope = this, block: suspend (MemberUpdateEvent) -> Unit): Job
Link copied to clipboard