This file contains hidden or 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
clearMessages = function (guild_id, author_id, authToken, deleted = new Set()) { | |
if (guild_id[0] == "_" && guild_id[guild_id.length - 1] == "_") { | |
alert("Oops! You forgot to set the guild_id. Please fill it in."); | |
return; | |
} | |
if (author_id[0] == "_" && author_id[author_id.length - 1] == "_") { | |
alert("Oops! You forgot to set the author_id. Please fill it in."); | |
return; | |
} |