mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
Whoopsies
This commit is contained in:
@@ -190,7 +190,7 @@ class Client extends EventEmitter {
|
|||||||
get emojis() {
|
get emojis() {
|
||||||
const emojis = new Collection();
|
const emojis = new Collection();
|
||||||
for (const guild of this.guilds.values()) {
|
for (const guild of this.guilds.values()) {
|
||||||
for (const emoji of guild.emojis) emojis.set(emoji.id, emoji);
|
for (const emoji of guild.emojis.values()) emojis.set(emoji.id, emoji);
|
||||||
}
|
}
|
||||||
return emojis;
|
return emojis;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user