NoServerEmojis: Fix detecting server emojis (#2835)
This commit is contained in:
parent
4c4f2894fb
commit
30e4e83158
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ export default definePlugin({
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
shouldSkip(guildId: string, emoji: any) {
|
shouldSkip(guildId: string, emoji: any) {
|
||||||
if (emoji.type !== "GUILD_EMOJI") {
|
if (emoji.type !== 1) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (settings.store.shownEmojis === "onlyUnicode") {
|
if (settings.store.shownEmojis === "onlyUnicode") {
|
||||||
|
|
Loading…
Reference in a new issue