UnsafeSlashCommandFailedChecksEvent

data class UnsafeSlashCommandFailedChecksEvent(val command: UnsafeSlashCommand<*, *>, val event: ChatInputCommandInteractionCreateEvent, val reason: Key) : SlashCommandFailedChecksEvent<UnsafeSlashCommand<*, *>>

Event emitted when an unsafe slash command's checks fail.

Constructors

Link copied to clipboard
constructor(command: UnsafeSlashCommand<*, *>, event: ChatInputCommandInteractionCreateEvent, reason: Key)

Properties

Link copied to clipboard
open override val command: UnsafeSlashCommand<*, *>
Link copied to clipboard
Link copied to clipboard
open override val event: ChatInputCommandInteractionCreateEvent
Link copied to clipboard
open val gateway: Gateway
Link copied to clipboard
open override val kord: Kord
Link copied to clipboard
open override val reason: Key
Link copied to clipboard
open override val shard: Int

Functions

Link copied to clipboard
open override fun getKoin(): Koin