respond abstract method Null safety

Future<IMessage> respond(
  1. MessageBuilder builder,
  2. {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:

Implementation

Future<IMessage> respond(MessageBuilder builder, {bool private = false});