IModalInteractionEvent class abstract
- Implemented types
Constructors
Properties
- client → INyxx
-
Reference to INyxx
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- interaction → IModalInteraction
-
The interaction data, includes the args, name, guild, channel, etc.
read-onlyinherited
- interactions ↔ Interactions
-
Reference to
Interactions
latefinalinherited - logger → Logger
-
finalinherited
- receivedAt → DateTime
-
The DateTime the interaction was received by the Nyxx Client.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
acknowledge(
→ Future< )void> -
Used to acknowledge a Interaction but not send any response yet.
Once this is sent you can then only send ChannelMessages.
You can also set showSource to also print out the command the user entered.
inherited
-
deleteFollowup(
Snowflake messageId) → Future< void> -
Deletes followup message with given id
inherited
-
deleteOriginalResponse(
) → Future< void> -
Deletes original response
inherited
-
editFollowup(
Snowflake messageId, MessageBuilder builder) → Future< IMessage> -
Edits followup message
inherited
-
editOriginalResponse(
MessageBuilder builder) → Future< IMessage> -
Edits original message response
inherited
-
fetchFollowup(
Snowflake messageId) → Future< IMessage> -
Fetch followup message
inherited
-
getOriginalResponse(
) → Future< IMessage> -
Returns
IMessage
object of original interaction responseinherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
respond(
MessageBuilder builder, ) → Future< void> -
Used to acknowledge a Interaction and send a response.
Once this is sent you can then only send ChannelMessages.
inherited
-
sendFollowup(
MessageBuilder builder, ) → Future< IMessage> -
Create a followup message for an Interaction
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited