{"id":1327,"date":"2022-03-06T20:55:47","date_gmt":"2022-03-07T04:55:47","guid":{"rendered":"https:\/\/gmr.dev\/blog\/?p=1327"},"modified":"2022-06-27T00:46:03","modified_gmt":"2022-06-27T07:46:03","slug":"mass-discord-message-remover-deleter-script-remove-lots-of-instant-messages","status":"publish","type":"post","link":"https:\/\/rose.dev\/blog\/2022\/03\/06\/mass-discord-message-remover-deleter-script-remove-lots-of-instant-messages\/","title":{"rendered":"Mass Discord Message Remover \/ Deleter Script &#8211; Remove Lots of Instant Messages"},"content":{"rendered":"\n<p>With this script, you can automate the removal of a massive quantity of discord messages (everything back to a channel&#8217;s origin, if wanted), including in personal channels. I used it personally to delete a conversation with over a year of messages. There were no problems after the proper modifications.<\/p>\n\n\n\n<p>You will need <a aria-label=\"undefined (opens in a new tab)\" href=\"https:\/\/www.tampermonkey.net\/\" target=\"_blank\" rel=\"noreferrer noopener\">Tampermonkey<\/a>. This is an extension for your favorite browser that will allow you to run custom JavaScript. <\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>Next, <a aria-label=\"undefined (opens in a new tab)\" href=\"https:\/\/github.com\/gen3vra\/deletediscordmessages\" target=\"_blank\" rel=\"noreferrer noopener\">visit the delete discord messages repository.<\/a> You will need to click the &#8216;<code>userscript.js<\/code>&#8216; file listed upon visiting the url. Copy everything (CTRL + A \/ CTRL + C) and install it. The script obviously does nothing malicious but you can also take this opportunity to verify for yourself.<\/p>\n\n\n\n<p>To use, click the trash can icon <strong>in the channel or DM you want to delete<\/strong> and press &#8220;START&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"976\" height=\"759\" sizes=\"auto, (max-width: 976px) 100vw, 976px\" src=\"https:\/\/gmr.dev\/blog\/wp-content\/uploads\/2022\/03\/firefox_ZuKdUjNgjt.png\" alt=\"\" class=\"wp-image-1398\" srcset=\"https:\/\/rose.dev\/blog\/wp-content\/uploads\/2022\/03\/firefox_ZuKdUjNgjt.png 976w, https:\/\/rose.dev\/blog\/wp-content\/uploads\/2022\/03\/firefox_ZuKdUjNgjt-300x233.png 300w, https:\/\/rose.dev\/blog\/wp-content\/uploads\/2022\/03\/firefox_ZuKdUjNgjt-768x597.png 768w\" \/><figcaption>You can also add a &#8216;before message id&#8217; or &#8216;after message id&#8217; to control how much you delete.<\/figcaption><\/figure>\n\n\n\n<p>The script will try to respect Discord&#8217;s limits as much as possible, backing off as necessary when Discord errors. I cannot promise you will not be banned for selfbotting or something, but I have used it many times and my account is fine. Just to be safe you shouldn&#8217;t be doing anything else on your account while the script is deleting (it will also slow down and cause problems anyway). AFAIK this doesn&#8217;t violate anything in terms of service but use at your own risk, as always.<\/p>\n<hr>\r\nIt helps me if you share this post\r\n<br\/>\r\n<br\/>\r\nPublished 2022-03-06 20:55:47 ","protected":false},"excerpt":{"rendered":"<p>Need to mass delete Discord messages? Fixed working script to delete any amount of messages from any channel, friend or otherwise.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"categories":[922,832,833],"tags":[995,991,997,993,994,996],"class_list":["post-1327","post","type-post","status-publish","format-standard","hentry","category-release","category-software","category-technology","tag-delete","tag-discord","tag-mass-remove","tag-remover","tag-script","tag-tampermonkey"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/posts\/1327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/comments?post=1327"}],"version-history":[{"count":7,"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/posts\/1327\/revisions"}],"predecessor-version":[{"id":1797,"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/posts\/1327\/revisions\/1797"}],"wp:attachment":[{"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/media?parent=1327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/categories?post=1327"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rose.dev\/blog\/wp-json\/wp\/v2\/tags?post=1327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}