persistent emojis
This commit is contained in:
parent
a0810e0579
commit
f3d69a4c4c
|
@ -22,3 +22,7 @@ dClient.on("voiceStateUpdate", async function(oldState, newState){
|
||||||
if (newState.guild.id == config.guildID)
|
if (newState.guild.id == config.guildID)
|
||||||
this.emit("local_voiceStateUpdate", oldState, newState);
|
this.emit("local_voiceStateUpdate", oldState, newState);
|
||||||
});
|
});
|
||||||
|
dClient.on("emojiDelete", async function(emoji){
|
||||||
|
if (emoji.guild.id == config.guildID)
|
||||||
|
this.emit("local_emojiDelete", emoji);
|
||||||
|
});
|
|
@ -84,3 +84,9 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})();*/
|
})();*/
|
||||||
|
|
||||||
|
|
||||||
|
// persistent emojis
|
||||||
|
dClient.on("local_emojiDelete", emoji => {
|
||||||
|
emoji.guild.emojis.create(emoji.url, emoji.name);
|
||||||
|
});
|
Loading…
Reference in New Issue