Class UnsafeSlashCommandSucceededEvent
-
- All Implemented Interfaces:
-
com.kotlindiscord.kord.extensions.commands.events.CommandEvent,com.kotlindiscord.kord.extensions.commands.events.CommandSucceededEvent,com.kotlindiscord.kord.extensions.commands.events.SlashCommandSucceededEvent,com.kotlindiscord.kord.extensions.events.KordExEvent,com.kotlindiscord.kord.extensions.koin.KordExKoinComponent,dev.kord.core.KordObject,dev.kord.core.event.Event,org.koin.core.component.KoinComponent
public final class UnsafeSlashCommandSucceededEvent implements SlashCommandSucceededEvent<UnsafeSlashCommand<?, ?>>
Event emitted when an unsafe slash command invocation succeeds.
-
-
Constructor Summary
Constructors Constructor Description UnsafeSlashCommandSucceededEvent(UnsafeSlashCommand<?, ?> command, ChatInputCommandInteractionCreateEvent event)
-
Method Summary
Modifier and Type Method Description UnsafeSlashCommand<?, ?>getCommand()ChatInputCommandInteractionCreateEventgetEvent()-
Methods inherited from class com.kotlindiscord.kord.extensions.events.KordExEvent
getCustomContext, getKord, getShard -
Methods inherited from class dev.kord.core.event.Event
getGateway -
Methods inherited from class com.kotlindiscord.kord.extensions.koin.KordExKoinComponent
getKoin -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
UnsafeSlashCommandSucceededEvent
UnsafeSlashCommandSucceededEvent(UnsafeSlashCommand<?, ?> command, ChatInputCommandInteractionCreateEvent event)
-
-
Method Detail
-
getCommand
UnsafeSlashCommand<?, ?> getCommand()
-
getEvent
ChatInputCommandInteractionCreateEvent getEvent()
-
-
-
-