Observe events as a Flow
This would allow a nice reactive API to handle incoming events. The example I posted in the discord:
bot {
onMessageCreate {
/* Do work */
val replyMessage = message.reply(/* ... */)
replyMessage.reactions() // : Flow<MessageReactionAddEvent>
.collect { /* do stuff based on reaction */ }
}
}