您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
在Discord浏览器UI中添加按钮,以批量删除Discord频道和私信中的消息
website / greasyfork / github
mass delete all discord messages from any dm or channel
download a userscripts manager (eg. ViolentMonkey)
Note: Chrome users: ViolentMonkey is unsupported due to extension Manifest V2 deprecation. A temporary workaround is needed: steps to allow legacy extension manifest version flag
trash icon
in top right-hand cornerget
buttons in the popupstart
buttonprevent automatically sleeping on power adapter
(optional -> see note below)Note: I recommend you skim through the entire chat to confirm if all messages are deleted. If not simply re-run until all done (sorry this is a bug - its not perfect, but still better than manually deleting single msgs imo)
re-enable allowing computer to sleep
(optional -> see note below)Note: you only need to prevent sleep if you have a lot of messages to delete and/or will likely not be using your computer the whole time (ie. display turns off and computer sleeps) (instructions for macOS, please google and share for other OS)
self-explanatory. refer to the forked wiki if you need more info
find message ids
by right-clicking them
adjust delay
in ms to test for optimal deletion rate
Range
before date
after date
After message id
Before message id
Search Delay
rec: 1000Delete Delay
rec: 800Search messages
Containing Text
Has: Link
Has: File
Include Pinned
i adhere to the original creator's Privacy Policy
discord explicity prohibits the use of unauthorized third-party scripts through their TOS. so, usage of this script can result in consequences such as account suspension, bans, etc. personally haven't had issues but, please use at your own risk.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址