commonMain.gateway.handler.BaseGatewayEventHandler.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kord-core-jvm Show documentation
Show all versions of kord-core-jvm Show documentation
Idiomatic Kotlin Wrapper for The Discord API
The newest version!
package dev.kord.core.gateway.handler
import dev.kord.core.Kord
import dev.kord.core.event.Event as CoreEvent
import dev.kord.gateway.Event as GatewayEvent
internal abstract class BaseGatewayEventHandler {
abstract suspend fun handle(event: GatewayEvent, shard: Int, kord: Kord, context: LazyContext?): CoreEvent?
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy