v5.0.0
$deleteMessage
This function deletes a message from the given message ID

Fields

This function has 2 fields
  1. 1.
    Channel ID (Required)
  2. 2.
    Message ID (Required)
Raw Usage: $deleteMessage[channelID;messageID]

Options

  • Channel ID - The channel we're the message is
  • Message ID - The message we're deleting

Usage

1
bot.command({
2
name: "deleteMessage",
3
code: `Deleted the message!
4
$deleteMessage[$channelID;800862561414414396]
5
`
6
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub