InteractionContract class abstract
Constructors
Properties
Methods
-
deleteFollowup(
) → Future< void> - Use to delete the follow up message. Usage:
-
deleteReply(
) → Future< void> - Use to delete the reply to the interaction. Need a reply to delete. Usage:
-
editFollowup(
{required MessageBuilder builder, bool ephemeral = false}) → Future< InteractionContract> - Use to edit the follow up message. Usage:
-
editReply(
{required MessageBuilder builder, bool ephemeral = false}) → Future< InteractionContract> - Use to edit the reply to the interaction. Usage:
-
followup(
{required MessageBuilder builder, bool ephemeral = false}) → Future< InteractionContract> - Use to follow up the interaction. Usage:
-
modal(
ModalBuilder modal) → Future< void> - Use to send a modal to the interaction.
-
noReply(
{bool ephemeral = false}) → Future< void> - Use to not reply to the interaction, prevent the 'This interaction failed' message. Usage:
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reply(
{required MessageBuilder builder, bool ephemeral = false}) → Future< InteractionContract> - Use to reply to the interaction. Usage:
-
toString(
) → String -
A string representation of this object.
inherited
-
wait(
) → Future< InteractionContract> - Use to defer the interaction, like a loading state. Usage:
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited