diff --git a/deleteDiscordMessages.user.js b/deleteDiscordMessages.user.js index dd9da9a8..bb939e95 100644 --- a/deleteDiscordMessages.user.js +++ b/deleteDiscordMessages.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Undiscord // @description Delete all messages in a Discord channel or DM (Bulk deletion) -// @version 5.0.2 +// @version 5.0.3 // @author victornpb // @homepageURL https://github.com/victornpb/undiscord // @supportURL https://github.com/victornpb/undiscord/issues @@ -17,7 +17,7 @@ (function () { 'use strict'; - var version = "5.0.2"; + var version = "5.0.3"; var discordStyles = (` /* undiscord window */ @@ -304,12 +304,12 @@ right: 10px; display: flex; flex-direction: column; - width: 610px; + width:800px; + height: 80vh; min-width: 610px; - max-width: 100%; - height: 448px; + max-width: 100vw; min-height: 448px; - max-height: 100%; + max-height: 100vh; color: var(--text-normal); border-radius: 4px; background-color: var(--background-secondary); @@ -678,7 +678,6 @@
                 
-
Tell me what you think about this update
Star this project on GitHub!
Issues or help
@@ -692,6 +691,7 @@ + `); /** @@ -1399,7 +1399,6 @@ body.undiscord-pick-message.after [id^="message-content-"]:hover::after { // validate input if (!authToken) return logger('error', ['Could not detect the authorization token!']) || logger('info', ['Please make sure Undiscord is up to date']); - else if (!authorId) return logger('error', ['You must provide an Author ID!']); else if (!guildId) return logger('error', ['You must provide a Server ID!']); for (let i = 0; i < channelIds.length; i++) { diff --git a/package-lock.json b/package-lock.json index 0542deda..8382efbf 100755 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "undiscord", - "version": "5.0.0", + "version": "5.0.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "undiscord", - "version": "5.0.0", + "version": "5.0.3", "license": "MIT", "devDependencies": { "@babel/core": "^7.17.9", diff --git a/package.json b/package.json index c5205fcb..ca3a1d08 100755 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "contributionURL": "https://www.buymeacoffee.com/vitim", "grant": "none" }, - "version": "5.0.2", + "version": "5.0.3", "description": "Delete all messages in a Discord channel or DM (Bulk deletion)", "license": "MIT", "engines": { diff --git a/src/index.js b/src/index.js index cf18bc38..79bcfb85 100644 --- a/src/index.js +++ b/src/index.js @@ -188,7 +188,6 @@ async function start() { // validate input if (!authToken) return logger('error', ['Could not detect the authorization token!']) || logger('info', ['Please make sure Undiscord is up to date']); - else if (!authorId) return logger('error', ['You must provide an Author ID!']); else if (!guildId) return logger('error', ['You must provide a Server ID!']); for (let i = 0; i < channelIds.length; i++) { diff --git a/src/ui/main.css b/src/ui/main.css index 42f39477..0e405ea5 100644 --- a/src/ui/main.css +++ b/src/ui/main.css @@ -25,12 +25,12 @@ right: 10px; display: flex; flex-direction: column; - width: 610px; + width:800px; + height: 80vh; min-width: 610px; - max-width: 100%; - height: 448px; + max-width: 100vw; min-height: 448px; - max-height: 100%; + max-height: 100vh; color: var(--text-normal); border-radius: 4px; background-color: var(--background-secondary); diff --git a/src/ui/undiscord.html b/src/ui/undiscord.html index 86a2e4e2..20e7e82c 100644 --- a/src/ui/undiscord.html +++ b/src/ui/undiscord.html @@ -217,7 +217,6 @@

Undiscord

                 
-
Tell me what you think about this update
Star this project on GitHub!
Issues or help
@@ -230,4 +229,4 @@

Undiscord

- \ No newline at end of file +