Vencord plugin that deletes messages while bypassing Vencord's message logger.
Due to a current Discord client-side issue, sending a new message with its nonce set to the ID of a previously sent message causes the new message to visually replace the original. The original message is not deleted server-side, but it becomes hidden on the client.
SilentDelete exploits this behavior to allow "silent" message deletion:
- When you delete a message, the plugin sends a new message with placeholder text (like
** **) using the original message's ID as the nonce. - This causes the new placeholder message to visually replace the original in the client without triggering Vencord's message logger.
- The placeholder message is then deleted after a short delay.
- By default, the plugin also deletes the original server-side message to prevent it from reappearing after client reload.
This bypasses message loggers that track deletions, as the message appears to get replaced with placeholder text and then removed.
Also see SilentEdit that uses the same nonce exploit but to conveniently "silent" edit a message.
Warning
This plugin violates Discord's Terms of Service. Using client modifications and automating message actions can result in account termination. Use at your own risk.
Because this is not an official Vencord plugin, you must build Vencord with the plugin from source before injecting Discord.
git clone https://github.com/Vendicated/Vencord
cd Vencord
pnpm install --frozen-lockfile-
Navigate to the
srcfolder in the cloned Vencord repository, create a new folder calleduserpluginsif it dosen't already exist. -
Download
silentDelete.tsxfrom the repository and move it to theuserpluginsfolder. -
Build Vencord and inject Discord:
pnpm build
pnpm inject- If built and injected successfully, follow the remaining prompt(s) and restart Discord to apply changes.
- In Discord's Vencord plugins menu, enable the SilentDelete Plugin.
Offical Vencord custom plugin installation guide
- Hover over your message
- Click the Silent Delete button in the popover menu (trash icon)
- Right-click on a message you've already deleted
- Select Silent Delete History from the context menu
- Execute the command
/silentpurgewith the number of messages to silently delete in thecountfield.
The text that replaces your message before deletion (default: ** **)
How long to wait before deleting the replacement message in milliseconds (recommended: 100-500ms, default: 200ms)
Prevents pinging mentioned users when replacing the message (default: enabled)
Whether to delete the original message from the server. If disabled, the original message will reappear on client restart (default: enabled)
Delay between each message deletion during /silentpurge in milliseconds (recommended: 500-1000ms to avoid rate limits, default: 500ms)
Hex color code for the Silent Delete icon and menu text (default: #ed4245)
Skidded from applefritter's AntiLog plugin