Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(Emoji): id set as undefined edge case (#9953)
  • Loading branch information
almeidx committed Nov 12, 2023
1 parent f93abf7 commit cc07a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/Emoji.js
Expand Up @@ -29,7 +29,7 @@ class Emoji extends Base {
* The emoji's id
* @type {?Snowflake}
*/
this.id = emoji.id;
this.id = emoji.id ?? null;
}

/**
Expand Down

0 comments on commit cc07a28

Please sign in to comment.