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

commonMain.event.user.UserUpdateEvent.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.User
import dev.kord.core.event.Event

public class UserUpdateEvent(
    public val old: User?,
    public val user: User,
    override val shard: Int,
    override val customContext: Any?,
) : Event {
    override val kord: Kord get() = user.kord

    override fun toString(): String {
        return "UserUpdateEvent(old=$old, user=$user, shard=$shard)"
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy