add emoji protection override
This commit is contained in:
parent
485d39045a
commit
d31d2c64e0
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue