Skip to content
Deletecommand Ai

$deletecommand

Deletes the message that triggered the command execution.

Usage: $deletecommand

This function is useful for cleaning up the chat and removing the command message after the command has been executed. It’s a simple way to make your bot interactions cleaner and more user-friendly.

::: tip Related Functions

  • $deleteMessage: Delete any message within a server or in direct messages. This is more flexible as it lets you target specific messages. :::
Function difficulty:
Tags: