All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.event.user.VoiceStateUpdateEvent.kt Maven / Gradle / Ivy

There is a newer version: 0.15.0
Show newest version
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)"
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy