add emoji protection override

This commit is contained in:
Lamp 2019-04-03 22:42:34 +00:00
parent 485d39045a
commit d31d2c64e0
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@
// persistent emojis // persistent emojis
dClient.on("local_emojiDelete", async emoji => { dClient.on("local_emojiDelete", async emoji => {
if (global.disableEmojiProtection) return;
await emoji.guild.emojis.create(emoji.url, emoji.name); await emoji.guild.emojis.create(emoji.url, emoji.name);
}); });