From 07dc68ed1c138842e0ce61466ea6ca692e5af168 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Fri, 6 May 2022 12:21:55 +0300 Subject: [PATCH] sorting out inhibitor priorities --- src/structure/components/inhibitors/ChannelIgnore.js | 2 +- src/structure/components/inhibitors/ClientPermissions.js | 2 +- src/structure/components/inhibitors/Disabled.js | 2 +- src/structure/components/inhibitors/GuildOnly.js | 2 +- src/structure/components/inhibitors/Permissions.js | 2 +- src/structure/components/inhibitors/Restricted.js | 2 +- src/structure/components/inhibitors/Throttle.js | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/structure/components/inhibitors/ChannelIgnore.js b/src/structure/components/inhibitors/ChannelIgnore.js index f9c06b4..efe2f1b 100644 --- a/src/structure/components/inhibitors/ChannelIgnore.js +++ b/src/structure/components/inhibitors/ChannelIgnore.js @@ -5,7 +5,7 @@ class ChannelIgnore extends Inhibitor { constructor(client) { super(client, { name: 'channelIgnore', - priority: 5, + priority: 9, guild: true, silent: true }); diff --git a/src/structure/components/inhibitors/ClientPermissions.js b/src/structure/components/inhibitors/ClientPermissions.js index 2d4ec4c..c64ab73 100644 --- a/src/structure/components/inhibitors/ClientPermissions.js +++ b/src/structure/components/inhibitors/ClientPermissions.js @@ -5,7 +5,7 @@ class ClientPermissions extends Inhibitor { constructor(client) { super(client, { name: 'clientPermissions', - priority: 11, + priority: 10, guarded: true, guild: true }); diff --git a/src/structure/components/inhibitors/Disabled.js b/src/structure/components/inhibitors/Disabled.js index 042b0c3..4336f70 100644 --- a/src/structure/components/inhibitors/Disabled.js +++ b/src/structure/components/inhibitors/Disabled.js @@ -5,7 +5,7 @@ class Disabled extends Inhibitor { constructor(client) { super(client, { name: 'disabled', - priority: 9, + priority: 4, silent: true }); } diff --git a/src/structure/components/inhibitors/GuildOnly.js b/src/structure/components/inhibitors/GuildOnly.js index a74c265..e4c5ecc 100644 --- a/src/structure/components/inhibitors/GuildOnly.js +++ b/src/structure/components/inhibitors/GuildOnly.js @@ -6,7 +6,7 @@ class GuildOnly extends Inhibitor { super(client, { name: 'guildOnly', - priority: 12, + priority: 2, guarded: true }); diff --git a/src/structure/components/inhibitors/Permissions.js b/src/structure/components/inhibitors/Permissions.js index 8415239..f73bb17 100644 --- a/src/structure/components/inhibitors/Permissions.js +++ b/src/structure/components/inhibitors/Permissions.js @@ -8,7 +8,7 @@ class Permissions extends Inhibitor { super(client, { name: 'permissions', - priority: 10, + priority: 5, guarded: true, guild: true }); diff --git a/src/structure/components/inhibitors/Restricted.js b/src/structure/components/inhibitors/Restricted.js index 1cdb209..fca1e44 100644 --- a/src/structure/components/inhibitors/Restricted.js +++ b/src/structure/components/inhibitors/Restricted.js @@ -6,7 +6,7 @@ class Restricted extends Inhibitor { super(client, { name: 'restricted', - priority: 10, + priority: 3, guarded: true }); diff --git a/src/structure/components/inhibitors/Throttle.js b/src/structure/components/inhibitors/Throttle.js index 7073aa8..cd4d9bd 100644 --- a/src/structure/components/inhibitors/Throttle.js +++ b/src/structure/components/inhibitors/Throttle.js @@ -6,7 +6,7 @@ class Throttle extends Inhibitor { super(client, { name: 'throttle', - priority: 20 + priority: 1 }); }