Class UnsafeUserCommandFailedWithExceptionEvent
-
- All Implemented Interfaces:
-
com.kotlindiscord.kord.extensions.commands.events.CommandEvent,com.kotlindiscord.kord.extensions.commands.events.CommandFailedEvent,com.kotlindiscord.kord.extensions.commands.events.CommandFailedWithExceptionEvent,com.kotlindiscord.kord.extensions.commands.events.UserCommandFailedEvent,com.kotlindiscord.kord.extensions.commands.events.UserCommandFailedWithExceptionEvent,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 UnsafeUserCommandFailedWithExceptionEvent implements UserCommandFailedWithExceptionEvent<UnsafeUserCommand<?>>
Event emitted when an unsafe user command invocation fails with an exception.
-
-
Field Summary
Fields Modifier and Type Field Description private final UnsafeUserCommand<?>commandprivate final UserCommandInteractionCreateEventeventprivate final Throwablethrowableprivate final Map<String, Object>customContextprivate final Gatewaygatewayprivate final Kordkordprivate final Integershard
-
Constructor Summary
Constructors Constructor Description UnsafeUserCommandFailedWithExceptionEvent(UnsafeUserCommand<?> command, UserCommandInteractionCreateEvent event, Throwable throwable)
-
Method Summary
Modifier and Type Method Description UnsafeUserCommand<?>getCommand()UserCommandInteractionCreateEventgetEvent()ThrowablegetThrowable()-
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
-
UnsafeUserCommandFailedWithExceptionEvent
UnsafeUserCommandFailedWithExceptionEvent(UnsafeUserCommand<?> command, UserCommandInteractionCreateEvent event, Throwable throwable)
-
-
Method Detail
-
getCommand
UnsafeUserCommand<?> getCommand()
-
getEvent
UserCommandInteractionCreateEvent getEvent()
-
getThrowable
Throwable getThrowable()
-
-
-
-