diff --git a/src/structures/GuildEmoji.js b/src/structures/GuildEmoji.js index 79fff52f7..a7620911d 100644 --- a/src/structures/GuildEmoji.js +++ b/src/structures/GuildEmoji.js @@ -24,6 +24,12 @@ class GuildEmoji extends Emoji { */ this.guild = guild; + /** + * The ID of this emoji + * @type {Snowflake} + * @name GuildEmoji#id + */ + this._roles = []; this._patch(data); } diff --git a/typings/index.d.ts b/typings/index.d.ts index 3e6aec40f..d567e6db6 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -841,6 +841,7 @@ declare module 'discord.js' { public available: boolean; public readonly deletable: boolean; public guild: Guild; + public id: Snowflake; public managed: boolean; public requiresColons: boolean; public roles: GuildEmojiRoleStore;