respond method Null safety
- MessageBuilder builder,
- {bool private = false}
Send a response to the command. This is the same as send but it references the original command.
Setting private
to true will ensure only the user that invoked the command sees the
response:
- For message contexts, a DM is sent to the invoking user;
- For interaction contexts, an ephemeral response is used.
Implementation
Future<IMessage> respond(MessageBuilder builder, {bool private = false});