$messageFlags
This function retrieves the flags associated with a message. Message flags provide additional information about the message, such as whether it's a crosspost or if it's a system message.
Usage: $messageFlags
Here's a simple example demonstrating how to use $messageFlags:
Explanation:
- The user types
!!exec Flags: $messageFlags. - The bot executes the command and replaces
$messageFlagswith the actual flags of the triggering message. - The bot then replies with "Flags:" followed by the flags (if any) for that message. If there are no flags, the output will simply be "Flags:".