$sendMessage

Sends a message to the channel where the command was executed.

Usage: $sendMessage[message;return ID (yes/no) (optional)]

Arguments:

  • message: The content of the message to send.
  • return ID: (Optional) Determines whether to return the ID of the sent message. Use yes to return the ID, no to not return it. Defaults to no if not provided.

Example:

!!exec $sendMessage[This is a fantastic message!;no]
Member04/23/2025
!!exec $sendMessage[This is a fantastic message!;no]
Custom Command Bot 04/23/2025
This is a fantastic message!

More Examples

Sending an embed:

It is recommended to use Message Curl Format to send more complex messages like embeds

Note

You can send more complex structures like embed titles, footers, buttons, and menus through Message Curl Format. This provides greater control over the appearance and functionality of your messages.

Related Functions

Function difficulty: Medium
Tags: Send Message ChannelUsed Messages