respond abstract method Null safety
- MessageBuilder builder,
- {bool private = false}
Send a response to the command.
If private
is set to true
, then the response will only be made visible to the user that
invoked the command. In interactions, this is done by sending an ephemeral response, in text
commands this is handled by sending a Private Message to the user.
You might also be interested in:
- IInteractionContext.acknowledge, for acknowledging interactions without resopnding.
Implementation
Future<IMessage> respond(MessageBuilder builder, {bool private = false});