mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(Emoji): id set as undefined edge case (#9953)
This commit is contained in:
@@ -29,7 +29,7 @@ class Emoji extends Base {
|
||||
* The emoji's id
|
||||
* @type {?Snowflake}
|
||||
*/
|
||||
this.id = emoji.id;
|
||||
this.id = emoji.id ?? null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user