From 3a0d3b7f7c675d738fd1696d3e76af7aa91b7678 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Mon, 10 Feb 2020 21:58:38 +0200 Subject: [PATCH] Update exe.js --- struct/funcs/exe.js | 1 + 1 file changed, 1 insertion(+) diff --git a/struct/funcs/exe.js b/struct/funcs/exe.js index 4b6287ca..acb9f9ee 100644 --- a/struct/funcs/exe.js +++ b/struct/funcs/exe.js @@ -1,6 +1,7 @@ module.exports = function (msg, args, client, Discord, prefix, command) { const permissions = msg.channel.permissionsFor(msg.client.user); if (!permissions.has('EMBED_LINKS')) return msg.channel.send('<:redx:674263474704220182> I cannot send embeds (Embed links), make sure I have the proper permissions!'); + if (!permissions.has('EXTERNAL_EMOJIS')) return msg.channel.send('<:redx:674263474704220182> I cannot use external emojis, make sure I have the proper permissions!'); try { command.uses++; command.execute(msg, args, client, Discord, prefix, command);