From a7b0098695719f0a70ee608297646a41d9201ed0 Mon Sep 17 00:00:00 2001 From: Navy Date: Wed, 5 May 2021 17:46:01 +0300 Subject: [PATCH] added embed perm check --- structure/client/components/settings/moderation/MessageLog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structure/client/components/settings/moderation/MessageLog.js b/structure/client/components/settings/moderation/MessageLog.js index 2dec7ff..6c1d34d 100644 --- a/structure/client/components/settings/moderation/MessageLog.js +++ b/structure/client/components/settings/moderation/MessageLog.js @@ -204,7 +204,7 @@ class MessageLogsSetting extends Setting { }; const perms = channel.permissionsFor(guild.me); - const missingPerms = perms.missing(['SEND_MESSAGES', 'VIEW_CHANNEL', 'MANAGE_WEBHOOKS']); + const missingPerms = perms.missing(['SEND_MESSAGES', 'VIEW_CHANNEL', 'MANAGE_WEBHOOKS', 'EMBED_LINKS']); if(missingPerms.length) return { error: true,