$deleteMessage
Deletes a specified message from a channel.
$deleteMessage[channelID;messageID]
Usage: channelID
: The ID of the channel where the message is located.messageID
: The ID of the message to delete.
Example:
$deleteMessage[$channelID;$messageID]
This example will delete the message with the ID specified in $messageID
from the channel with the ID specified in $channelID
. Make sure your bot has the necessary permissions to delete messages in the specified channel.
Related Functions
$deletecommand - Use this function to delete the message that triggered the command.