commonMain.event.guild.GuildUpdateEvent.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
package dev.kord.core.event.guild
import dev.kord.core.Kord
import dev.kord.core.entity.Guild
import dev.kord.core.event.Event
public class GuildUpdateEvent(
public val guild: Guild,
public val old: Guild?,
override val shard: Int,
override val customContext: Any?,
) : Event {
override val kord: Kord get() = guild.kord
override fun toString(): String {
return "GuildUpdateEvent(guild=$guild, shard=$shard)"
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy