InteractionEventWithAcknowledge<T extends IInteraction> class
abstract
- Inheritance
-
- Object
- InteractionEventAbstract<
T> - InteractionEventWithAcknowledge
- Implemented types
- Implementers
Constructors
- InteractionEventWithAcknowledge(Interactions interactions)
Properties
- client → INyxx
-
Reference to INyxx
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- interaction → T
-
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.
override
-
deleteFollowup(
Snowflake messageId) → Future< void> -
Deletes followup message with given id
override
-
deleteOriginalResponse(
) → Future< void> -
Deletes original response
override
-
editFollowup(
Snowflake messageId, MessageBuilder builder) → Future< IMessage> -
Edits followup message
override
-
editOriginalResponse(
MessageBuilder builder) → Future< IMessage> -
Edits original message response
override
-
fetchFollowup(
Snowflake messageId) → Future< IMessage> -
Fetch followup message
override
-
getOriginalResponse(
) → Future< IMessage> -
Returns
IMessage
object of original interaction responseoverride -
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.
override
-
sendFollowup(
MessageBuilder builder, ) → Future< IMessage> -
Create a followup message for an Interaction
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited