process
inline fun <E : Signal.Dispatch> Bot.process(crossinline block: suspend E.(raw: String) -> Unit): DisposableHandle(source)
Deprecated
Use `subscribe`
Replace with
this.subscribe<E>(SubscribeSequence.NORMAL, block)
Content copied to clipboard
bot.process<Signal.Dispatch> { raw ->
// ...
}
Content copied to clipboard