Package-level declarations

Types

Link copied to clipboard
interface UnsafeCommandInteractionContext : UnsafeInteractionContext<MessageInteractionResponseBehavior, ApplicationCommandInteractionCreateEvent>

Interface representing a generic, unsafe interaction action context.

Link copied to clipboard
data class UnsafeMessageCommandFailedChecksEvent(val command: UnsafeMessageCommand<*>, val event: MessageCommandInteractionCreateEvent, val reason: Key) : MessageCommandFailedChecksEvent<UnsafeMessageCommand<*>>

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

data class UnsafeMessageCommandFailedWithExceptionEvent(val command: UnsafeMessageCommand<*>, val event: MessageCommandInteractionCreateEvent, val throwable: Throwable) : MessageCommandFailedWithExceptionEvent<UnsafeMessageCommand<*>>

Event emitted when an unsafe message command invocation fails with an exception.

Link copied to clipboard
data class UnsafeMessageCommandInvocationEvent(val command: UnsafeMessageCommand<*>, val event: MessageCommandInteractionCreateEvent) : MessageCommandInvocationEvent<UnsafeMessageCommand<*>>

Event emitted when an unsafe message command is invoked.

Link copied to clipboard
data class UnsafeMessageCommandSucceededEvent(val command: UnsafeMessageCommand<*>, val event: MessageCommandInteractionCreateEvent) : MessageCommandSucceededEvent<UnsafeMessageCommand<*>>

Event emitted when an unsafe message command invocation succeeds.

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

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

Link copied to clipboard
data class UnsafeSlashCommandFailedParsingEvent(val command: UnsafeSlashCommand<*, *>, val event: ChatInputCommandInteractionCreateEvent, val exception: ArgumentParsingException) : SlashCommandFailedParsingEvent<UnsafeSlashCommand<*, *>>

Event emitted when an unsafe slash command's argument parsing fails.

data class UnsafeSlashCommandFailedWithExceptionEvent(val command: UnsafeSlashCommand<*, *>, val event: ChatInputCommandInteractionCreateEvent, val throwable: Throwable) : SlashCommandFailedWithExceptionEvent<UnsafeSlashCommand<*, *>>

Event emitted when an unsafe slash command invocation fails with an exception.

Link copied to clipboard
data class UnsafeSlashCommandInvocationEvent(val command: UnsafeSlashCommand<*, *>, val event: ChatInputCommandInteractionCreateEvent) : SlashCommandInvocationEvent<UnsafeSlashCommand<*, *>>

Event emitted when an unsafe slash command is invoked.

Link copied to clipboard
data class UnsafeSlashCommandSucceededEvent(val command: UnsafeSlashCommand<*, *>, val event: ChatInputCommandInteractionCreateEvent) : SlashCommandSucceededEvent<UnsafeSlashCommand<*, *>>

Event emitted when an unsafe slash command invocation succeeds.

Link copied to clipboard
data class UnsafeUserCommandFailedChecksEvent(val command: UnsafeUserCommand<*>, val event: UserCommandInteractionCreateEvent, val reason: Key) : UserCommandFailedChecksEvent<UnsafeUserCommand<*>>

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

data class UnsafeUserCommandFailedWithExceptionEvent(val command: UnsafeUserCommand<*>, val event: UserCommandInteractionCreateEvent, val throwable: Throwable) : UserCommandFailedWithExceptionEvent<UnsafeUserCommand<*>>

Event emitted when an unsafe user command invocation fails with an exception.

Link copied to clipboard
data class UnsafeUserCommandInvocationEvent(val command: UnsafeUserCommand<*>, val event: UserCommandInteractionCreateEvent) : UserCommandInvocationEvent<UnsafeUserCommand<*>>

Event emitted when an unsafe user command is invoked.

Link copied to clipboard
data class UnsafeUserCommandSucceededEvent(val command: UnsafeUserCommand<*>, val event: UserCommandInteractionCreateEvent) : UserCommandSucceededEvent<UnsafeUserCommand<*>>

Event emitted when an unsafe user command invocation succeeds.