From e01bf22e198711b6cac3d2dfebcabef209497243 Mon Sep 17 00:00:00 2001 From: victornpb <3372598+victornpb@users.noreply.github.com> Date: Sat, 30 Apr 2022 19:46:12 -0300 Subject: [PATCH] updated help links --- deleteDiscordMessages.user.js | 50 +++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/deleteDiscordMessages.user.js b/deleteDiscordMessages.user.js index 4858b404..b8072aed 100644 --- a/deleteDiscordMessages.user.js +++ b/deleteDiscordMessages.user.js @@ -1,19 +1,23 @@ // ==UserScript== -// @name Undiscord - Delete all messages in a Discord channel or DM (Bulk deletion) -// @description Extends the discord interface so you can mass delete messages from discord -// @namespace https://github.com/victornpb/deleteDiscordMessages -// @version 4.3 -// @match https://*.discord.com/app -// @match https://*.discord.com/channels/* -// @match https://*.discord.com/login -// @downloadURL https://raw.githubusercontent.com/victornpb/deleteDiscordMessages/master/deleteDiscordMessages.user.js -// @homepageURL https://github.com/victornpb/deleteDiscordMessages -// @supportURL https://github.com/victornpb/deleteDiscordMessages/issues +// @name Undiscord - Delete all messages in a Discord channel or DM (Bulk deletion) +// @description Extends the discord interface so you can mass delete messages from discord +// @namespace https://github.com/victornpb/deleteDiscordMessages +// @author victornpb +// @version 4.3.1 +// @match https://*.discord.com/app +// @match https://*.discord.com/channels/* +// @match https://*.discord.com/login +// @downloadURL https://raw.githubusercontent.com/victornpb/deleteDiscordMessages/master/deleteDiscordMessages.user.js +// @homepageURL https://github.com/victornpb/undiscord +// @supportURL https://github.com/victornpb/undiscord/discussions // @contributionURL https://www.buymeacoffee.com/vitim -// @grant none -// @license MIT +// @grant none +// @license MIT // ==/UserScript== -const VERSION = '4.3'; +const VERSION = '4.3.1'; + +const HOME = 'https://github.com/victornpb/undiscord'; +const WIKI = 'https://github.com/victornpb/undiscord/wiki'; /** * Delete all messages in a Discord channel or DM @@ -30,7 +34,7 @@ const VERSION = '4.3'; * @param {function(string, Array)} extLogger Function for logging * @param {function} stopHndl stopHndl used for stopping * @author Victornpb - * @see https://github.com/victornpb/deleteDiscordMessages + * @see https://github.com/victornpb/undiscord */ async function deleteMessages(authToken, authorId, guildId, channelId, minId, maxId, content, hasLink, hasFile, includeNsfw, includePinned, pattern, searchDelay, deleteDelay, extLogger, stopHndl, onProgress) { const start = new Date(); @@ -284,14 +288,14 @@ function initUI() {
Authorization ?
*
- Author Author ?
Guild/Channel ?

@@ -300,7 +304,7 @@ function initUI() {

- Range Range ?


@@ -308,7 +312,7 @@ function initUI() {
Search messages ?


@@ -319,12 +323,12 @@ function initUI() {
Search Delay ?

Delete Delay ?
@@ -339,8 +343,8 @@ function initUI() {
-            
Star this project on github.com/victornpb/deleteDiscordMessages!\n\n - Issues or help +
Star this project on github.com/victornpb/undiscord!\n\n + Issues or help