mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 06:44:41 +12:00
fix(Emoji): id
set as undefined
edge case (#9953)
This commit is contained in:
parent
f93abf7e35
commit
cc07a28f12
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class Emoji extends Base {
|
|||
* The emoji's id
|
||||
* @type {?Snowflake}
|
||||
*/
|
||||
this.id = emoji.id;
|
||||
this.id = emoji.id ?? null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue