LiveKordEntity
A Discord entity that only emits events related to this entity.
For example, a LiveMessage will only emit MessageUpdateEvents of that message, and only emit reactions to that message.
Inheritors
Functions
Link copied to clipboard
inline fun <T : Event> LiveKordEntity.on(scope: CoroutineScope = this, noinline consumer: suspend (T) -> Unit): Job
Link copied to clipboard
abstract fun shutDown(cause: CancellationException = CancellationException("The live entity is shut down", null))