Skip to content

Commit

Permalink
Undiscord 4.3
Browse files Browse the repository at this point in the history
Bump Discord API version to version 9 and add more message type to be deleted  PR looks good (#223 by VictorienXP)
Add wildcard subdomain for discord.com match on the userscript (#224 by VictorienXP)
Fix bug where process is prematurely stopped due to receiving a full array of skippedMessages (#323 by aijorgenson)
fix: stricter url matching (#335 by SethFalco)
refactor: reduce number of @matchs (#336 by SethFalco)
Removed duplicate OR operator (#338 by aydinyal)
  • Loading branch information
victornpb authored Apr 29, 2022
1 parent 140569f commit b3bf694
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deleteDiscordMessages.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @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.2
// @version 4.3
// @match https://*.discord.com/app
// @match https://*.discord.com/channels/*
// @match https://*.discord.com/login
Expand All @@ -13,6 +13,7 @@
// @grant none
// @license MIT
// ==/UserScript==
const VERSION = '4.3';

/**
* Delete all messages in a Discord channel or DM
Expand Down Expand Up @@ -272,13 +273,13 @@ function initUI() {
#undiscord hr{border-color:rgba(255,255,255,0.1)}
#undiscord .header{padding:12px 16px;background-color:var(--background-tertiary);color:var(--text-muted)}
#undiscord .form{padding:8px;background:var(--background-secondary);box-shadow:0 1px 0 rgba(0,0,0,.2),0 1.5px 0 rgba(0,0,0,.05),0 2px 0 rgba(0,0,0,.05)}
#undiscord .logarea{overflow:auto;font-size:.75rem;font-family:Consolas,Liberation Mono,Menlo,Courier,monospace;flex-grow:1;padding:10px}
#undiscord .logarea{overflow:auto;font-size:.75rem;font-family:Consolas,Liberation Mono,Menlo,Courier,monospace;flex-grow:1;padding:10px;user-select:text;}
`);

popover = createElm(`
<div id="undiscord" style="display:none;">
<div class="header">
Undiscord - Bulk delete messages
Undiscord ${VERSION} - Bulk delete messages
</div>
<div class="form">
<div style="display:flex;flex-wrap:wrap;">
Expand Down

0 comments on commit b3bf694

Please sign in to comment.