Skip to content

aurickk/SilentDelete-Vencord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

SilentDelete

Vencord plugin that deletes messages while bypassing Vencord's message logger.

How it works

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:

  1. When you delete a message, the plugin sends a new message with placeholder text (like ** **) using the original message's ID as the nonce.
  2. This causes the new placeholder message to visually replace the original in the client without triggering Vencord's message logger.
  3. The placeholder message is then deleted after a short delay.
  4. 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.

Installation

Because this is not an official Vencord plugin, you must build Vencord with the plugin from source before injecting Discord.

  1. Install Node.js, git, and pnpm if missing.

  2. Clone Vencord's Github repository:

git clone https://github.com/Vendicated/Vencord
cd Vencord
pnpm install --frozen-lockfile
  1. Navigate to the src folder in the cloned Vencord repository, create a new folder called userplugins if it dosen't already exist.

  2. Download silentDelete.tsx from the repository and move it to the userplugins folder.

  3. Build Vencord and inject Discord:

pnpm build
pnpm inject
  1. If built and injected successfully, follow the remaining prompt(s) and restart Discord to apply changes.
  2. In Discord's Vencord plugins menu, enable the SilentDelete Plugin.

Offical Vencord custom plugin installation guide

Usage

Deleting a Single Message

  1. Hover over your message
  1. Click the Silent Delete button in the popover menu (trash icon)

Removing Deleted Message History

  1. Right-click on a message you've already deleted
  1. Select Silent Delete History from the context menu

Silent Purge Messages

  1. Execute the command /silentpurge with the number of messages to silently delete in the count field.

Settings

Replacement Text

The text that replaces your message before deletion (default: ** **)

Delete Delay

How long to wait before deleting the replacement message in milliseconds (recommended: 100-500ms, default: 200ms)

Suppress Notifications

Prevents pinging mentioned users when replacing the message (default: enabled)

Delete Original

Whether to delete the original message from the server. If disabled, the original message will reappear on client restart (default: enabled)

Purge Interval

Delay between each message deletion during /silentpurge in milliseconds (recommended: 500-1000ms to avoid rate limits, default: 500ms)

Accent Color

Hex color code for the Silent Delete icon and menu text (default: #ed4245)

Credits

Skidded from applefritter's AntiLog plugin

About

Vencord plugin that deletes messages while bypassing Vencord's message logger.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors