Slash
16eb0b8
jvm
Slash
/
tv.blademaker.slash.context
/
InteractionContext
Interaction
Context
interface
InteractionContext
<
E
:
GenericInteractionCreateEvent
>
Inheritors
AutoCompleteContext
ButtonContext
MessageCommandContext
ModalContext
SlashCommandContext
UserCommandContext
Members
Members & Extensions
Properties
client
Link copied to clipboard
abstract
val
client
:
SlashCommandClient
event
Link copied to clipboard
abstract
val
event
:
E
interaction
Link copied to clipboard
open
val
interaction
:
Interaction
Functions
await
Link copied to clipboard
inline suspend
fun
<
E
:
GenericEvent
>
InteractionContext
<
*
>
.
await
(
timeout
:
Duration
,
crossinline
filter
:
suspend
(
event
:
E
)
->
Boolean
)
:
E
?