From 928fe8824f8ddcaccd7e1007e220ef4188b843c3 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Tue, 28 Jun 2022 21:20:07 +0300 Subject: [PATCH] bugfix --- src/structure/client/Resolver.js | 2 +- src/structure/components/settings/moderation/LinkFilter.js | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/structure/client/Resolver.js b/src/structure/client/Resolver.js index fcc4678..28c15ed 100644 --- a/src/structure/client/Resolver.js +++ b/src/structure/client/Resolver.js @@ -405,7 +405,7 @@ class Resolver { await this.dnsresolver.resolveAny(domain); return true; } catch (err) { - this.client.logger.error(err); + this.client.logger.warn(err); return false; } } diff --git a/src/structure/components/settings/moderation/LinkFilter.js b/src/structure/components/settings/moderation/LinkFilter.js index b944e15..4496855 100644 --- a/src/structure/components/settings/moderation/LinkFilter.js +++ b/src/structure/components/settings/moderation/LinkFilter.js @@ -84,12 +84,7 @@ class LinkFilterSetting extends FilterSetting { type: 'BOOLEAN', name: 'silent', description: 'Toggle silent operation' - }), - new CommandOption({ - type: 'STRING', - name: 'mode', - description: 'Set the mode of operation' - }), + }) ] });