Greasy Fork 还支持 简体中文。

DiscordPurge - Mass Delete Discord Messages (Updated)

Adds a button to the Discord browser UI to mass delete messages from Discord channels and direct messages

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
TheeeUnknown
今日安裝
0
安裝總數
130
評價
0 0 0
版本
0.3.0
建立日期
2025-04-09
更新日期
2025-07-03
尺寸
28.1 KB
授權條款
MIT
腳本執行於

🗑️ DiscordPurge: Mass Delete Your Messages

This script adds a 🗑️ button to the Discord website to help you mass-delete your own messages.

  • Filter messages by date, text, channel, etc.
  • Auto-fills necessary IDs with a "Get All" button.
  • Tries to handle Discord rate limits.
  • 🚨 Quick Warning: Using this script breaks Discord rules & risks your account. See full warnings below. Deleting is permanent.

⚙️ Install

  1. Have a UserScript Manager (e.g., Tampermonkey).
  2. Install this script's code into the manager.
  3. Refresh Discord (discord.com), find the 🗑️ button.

🚀 Use

  1. Click the 🗑️ button in Discord.
  2. On the Main tab, click "Get All" to fill Token/IDs (double-check them!). Maybe peek at the Filters/Advanced tabs if you need specific filters or speed adjustments.
  3. Click Start.
  4. Confirm the pop-up carefully (check the preview!). Deletion is final!
  5. Use Stop to cancel.

🚨⚠️ Important Notes & Warnings

  • 🛑 Discord Terms of Service Violation: Using self-bots, including scripts like this that automate actions through your user token, is strictly against Discord's Terms of Service. Doing so can lead to account flagging or permanent suspension. Use this script entirely at your own risk. The author and AI assistant are not responsible for any consequences to your account.
  • 🗑️ Irreversible Action: Message deletion is permanent. Once deleted, messages cannot be recovered. Double-check your settings, especially the Channel ID, before starting.
  • 🔑 Token Security: Your Authentication Token is like a password for your Discord account. Never share it with anyone or paste it into untrusted websites or applications. The "Get All" button reads it from your own browser's local storage; the script does not send it anywhere except directly to Discord's official API endpoints.
  • Rate Limits: Discord heavily rate-limits API requests to prevent abuse. This script attempts to respect these limits using delays, but aggressive use (very low delays, running multiple instances) could still lead to temporary API blocks or draw unwanted attention to your account.