IInteractionEventWithAcknowledge<T extends IInteraction > class
abstract
Implemented types
Implementers
Properties
client
→ INyxx
Reference to INyxx
no setter inherited
hashCode
→ int
The hash code for this object.
no setter inherited
interaction
→ T
The interaction data, includes the args, name, guild, channel, etc.
no setter inherited
interactions
→ Interactions
Reference to Interactions
no setter inherited
receivedAt
→ DateTime
The DateTime the interaction was received by the Nyxx Client.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
acknowledge ({bool hidden = false })
→ 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.
deleteFollowup (Snowflake messageId )
→ Future <void >
Deletes followup message with given id
deleteOriginalResponse ()
→ Future <void >
Deletes original response
editFollowup (Snowflake messageId , MessageBuilder builder )
→ Future <IMessage >
Edits followup message
editOriginalResponse (MessageBuilder builder )
→ Future <IMessage >
Edits original message response
fetchFollowup (Snowflake messageId )
→ Future <IMessage >
Fetch followup message
getOriginalResponse ()
→ Future <IMessage >
Returns Message
object of original interaction response
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
respond (MessageBuilder builder , {bool hidden = false })
→ Future <void >
Used to acknowledge a Interaction and send a response.
Once this is sent you can then only send ChannelMessages.
sendFollowup (MessageBuilder builder , {bool hidden = false })
→ Future <IMessage >
Create a followup message for an Interaction
toString ()
→ String
A string representation of this object.
inherited