commonMain.event.user.VoiceStateUpdateEvent.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kord-core Show documentation
Show all versions of kord-core Show documentation
Idiomatic Kotlin Wrapper for The Discord API
package dev.kord.core.event.user
import dev.kord.core.Kord
import dev.kord.core.entity.VoiceState
import dev.kord.core.event.Event
public class VoiceStateUpdateEvent(
public val old: VoiceState?,
public val state: VoiceState,
override val shard: Int,
override val customContext: Any?,
) : Event {
override val kord: Kord get() = state.kord
override fun toString(): String {
return "VoiceStateUpdateEvent(old=$old, state=$state, shard=$shard)"
}
}