From d31d2c64e04808a20fd35405414053b201b90efb Mon Sep 17 00:00:00 2001 From: Lamp Date: Wed, 3 Apr 2019 22:42:34 +0000 Subject: [PATCH] add emoji protection override --- src/misc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/misc.js b/src/misc.js index 2f2f88e..cd42d0a 100755 --- a/src/misc.js +++ b/src/misc.js @@ -86,6 +86,7 @@ // persistent emojis dClient.on("local_emojiDelete", async emoji => { + if (global.disableEmojiProtection) return; await emoji.guild.emojis.create(emoji.url, emoji.name); });