<aside> <img src="/icons/info-alternate_gray.svg" alt="/icons/info-alternate_gray.svg" width="40px" /> Command Information
Omni’s /clear
command allows users to delete messages in a channel. The command can be used to delete one message at a time, or it can be used to delete multiple messages at once. This command can help keep conversations organized and clutter free.
We've also included an additional command embed (error-reply) for when there are no more messages to clear or when messages fall outside of the time limit allowed by Discord. This error message should always be shown as a private response.
</aside>
Descriptions associated with a command and it's required/optional arguments within Discord.
Command & Arguments | Discord Description |
---|---|
/clear |
Delete a channel’s messages. |
<amount> |
Number of messages to delete. |
[member] |
Member to delete messages from. |
These JSON code snippets are provided as a reference for styling and layout purposes only. They do not include or consider dynamic data or variables. Bolded styles, extra spaces, etc. are all intentional.
/clear <amount> [member]
/clear (error-reply)
Embed designs are located in the Figma file below inside the “Bot Embeds” page.
https://www.figma.com/file/scKt1PpMV0hfUBSnawVYoE/Omni-App-Design-(Internal-Overhaul)?node-id=1936%3A78125&t=DnBM3EEgy25NDqBh-1