UnsafeUserCommand
class UnsafeUserCommand<M : UnsafeModalForm>(extension: Extension, val modal: () -> M? = null) : UserCommand<UnsafeCommandUserCommandContext<M>, M>
Like a standard user command, but with less safety features.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Initial response type. Change this to decide what happens when this user command action is executed.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun respondText(context: UnsafeCommandUserCommandContext<M>, message: Key, failureType: FailureReason<*>)
Link copied to clipboard
open suspend override fun runChecks(event: UserCommandInteractionCreateEvent, cache: MutableStringKeyedMap<Any>): Boolean
Link copied to clipboard
open suspend fun runStandardChecks(event: UserCommandInteractionCreateEvent, cache: MutableStringKeyedMap<Any>): Boolean