mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 09:13:22 +00:00
Fix Guild.emojis doc
This commit is contained in:
parent
124965425a
commit
2acfb16cb8
2 changed files with 3 additions and 3 deletions
File diff suppressed because one or more lines are too long
|
|
@ -107,8 +107,8 @@ class Guild {
|
||||||
this.features = data.features;
|
this.features = data.features;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An array of guild emojis.
|
* A Collection of emojis that are in this Guild. The key is the emoji's ID, the value is the emoji.
|
||||||
* @type {Object[]}
|
* @type {Collection<string, Emoji>}
|
||||||
*/
|
*/
|
||||||
this.emojis = new Collection();
|
this.emojis = new Collection();
|
||||||
for (const emoji of data.emojis) this.emojis.set(emoji.id, new Emoji(this, emoji));
|
for (const emoji of data.emojis) this.emojis.set(emoji.id, new Emoji(this, emoji));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue