$editMessage

Edits a message.

Usage: $editMessage[messageid;new message;channelid(optional)]


Member04/02/2024
!!exec $channelSendMessage[879431439299543040;This is a fantastic message!

The ID of this message is: $messageID;no]
Custom Command Bot 04/02/2024
This is a fantastic message!

The ID of this message is: 880055520210329651

Custom Command Bot 04/02/2024
This is a fantastic edited message! (edited)
Member04/02/2024
!!exec $editMessage[879431439299543040;This is a fantastic editted message!;880055520210329651]

Used Functions

$messageID, to return the ID from the message used to trigger the command

Note

You can send embed using Message Curl Format

Related Functions

$deleteMessage, to delete a message in the server or DMs

Watch Out!

For non-premium users, this command can only be used 4 times per command execution! And keep the cooldown in mind!

So looping through the code below will NOT work:

$forEach[number;$seq[1;10]]
$editMessage[$channelID;New Message $number;$messageID]
$wait[1m]
$endForEach
Function difficulty: Medium
Tags: Edit Message Channel Messages Modify message