This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let authToken = '' | |
let authorId = document.body.appendChild(document.createElement`iframe`).contentWindow.localStorage.user_id_cache.replace(/"/g, "") | |
let channelId = window.location.href.split('/').pop() | |
let afterMessageId = '' | |
/** | |
* Delete all messages in a Discord channel or DM | |
*/ | |
function deleteMessages() { | |
const start = new Date(); |