Skip to content
Send Message Ai

$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]
!!exec $sendMessage[This is a fantastic message!;no] 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

::: tip 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. :::

::: tip Related Functions

Function difficulty:
Tags: