v5.0.0
$editIn
Edit the Bot Message, in amount of intervals.
This function edits the message that the bot just sent

Fields

This function has 2 required fields
  1. 1.
    Time (Required)
  2. 2.
    Message (Required)
  3. 3.
    Message 2 (Optional)
  4. 4.
    Etc
Raw Usage: $editIn[time;message;message...]

Options

  • Time - The amount of time to edit the message
  • Message(s) - The message(s) we're editing the original message into

Usage

Editing the message once
1
bot.command({
2
name: "hello",
3
code: `
4
Hello $editIn[5s;Bye]` //Sends Hello, in 5 seconds it edits it to Bye
5
})
Copied!
Editing the message twice
1
bot.command({
2
name: "hello",
3
code: `
4
Hello $editIn[5s;Bye;Leaving]`
5
/*Sends Hello, in 5 seconds it edits it to Bye
6
Then in 5 seconds edits it to Leaving
7
*/
8
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub