
commonMain.event.interaction.ApplicationCommandUpdate.kt Maven / Gradle / Ivy
package dev.kord.core.event.interaction
import dev.kord.core.Kord
import dev.kord.core.entity.application.*
import dev.kord.core.event.Event
@Deprecated(
"This event is not supposed to be sent to bots. See https://github.com/discord/discord-api-docs/issues/3690 for " +
"details.",
level = DeprecationLevel.WARNING,
)
public sealed interface ApplicationCommandUpdateEvent : Event {
public val command: GuildApplicationCommand
}
@Suppress("DEPRECATION")
@Deprecated(
"This event is not supposed to be sent to bots. See https://github.com/discord/discord-api-docs/issues/3690 for " +
"details.",
level = DeprecationLevel.WARNING,
)
public class ChatInputCommandUpdateEvent(
override val command: GuildChatInputCommand,
override val kord: Kord,
override val shard: Int,
override val customContext: Any?,
) : ApplicationCommandUpdateEvent
@Suppress("DEPRECATION")
@Deprecated(
"This event is not supposed to be sent to bots. See https://github.com/discord/discord-api-docs/issues/3690 for " +
"details.",
level = DeprecationLevel.WARNING,
)
public class UserCommandUpdateEvent(
override val command: GuildUserCommand,
override val kord: Kord,
override val shard: Int,
override val customContext: Any?,
) : ApplicationCommandUpdateEvent
@Suppress("DEPRECATION")
@Deprecated(
"This event is not supposed to be sent to bots. See https://github.com/discord/discord-api-docs/issues/3690 for " +
"details.",
level = DeprecationLevel.WARNING,
)
public class MessageCommandUpdateEvent(
override val command: GuildMessageCommand,
override val kord: Kord,
override val shard: Int,
override val customContext: Any?,
) : ApplicationCommandUpdateEvent
@Suppress("DEPRECATION")
@Deprecated(
"This event is not supposed to be sent to bots. See https://github.com/discord/discord-api-docs/issues/3690 for " +
"details.",
level = DeprecationLevel.WARNING,
)
public class UnknownApplicationCommandUpdateEvent(
override val command: UnknownGuildApplicationCommand,
override val kord: Kord,
override val shard: Int,
override val customContext: Any?,
) : ApplicationCommandUpdateEvent
© 2015 - 2025 Weber Informatics LLC | Privacy Policy