commonMain.event.user.UserUpdateEvent.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.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)"
}
}