LiveMessage
class LiveMessage(message: Message, val guildId: Snowflake?, coroutineScope: CoroutineScope = message.kord + SupervisorJob(message.kord.coroutineContext.job)) : AbstractLiveKordEntity, KordEntity(source)
Constructors
Link copied to clipboard
constructor(message: Message, guildId: Snowflake?, coroutineScope: CoroutineScope = message.kord + SupervisorJob(message.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 LiveMessage.onReactionAdd(scope: CoroutineScope = this, block: suspend (ReactionAddEvent) -> Unit): Job
inline fun LiveMessage.onReactionAdd(reaction: ReactionEmoji, scope: CoroutineScope = this, crossinline block: suspend (ReactionAddEvent) -> Unit): Job
Link copied to clipboard
fun LiveMessage.onReactionRemove(scope: CoroutineScope = this, block: suspend (ReactionRemoveEvent) -> Unit): Job
inline fun LiveMessage.onReactionRemove(reaction: ReactionEmoji, scope: CoroutineScope = this, crossinline block: suspend (ReactionRemoveEvent) -> Unit): Job
Link copied to clipboard
fun LiveMessage.onReactionRemoveAll(scope: CoroutineScope = this, block: suspend (ReactionRemoveAllEvent) -> Unit): Job
Link copied to clipboard
fun LiveMessage.onUpdate(scope: CoroutineScope = this, block: suspend (MessageUpdateEvent) -> Unit): Job
Link copied to clipboard