fix(Emoji): id set as undefined edge case (#9953)

This commit is contained in:
Almeida
2023-11-12 21:34:24 +00:00
committed by GitHub
parent f93abf7e35
commit cc07a28f12

View File

@@ -29,7 +29,7 @@ class Emoji extends Base {
* The emoji's id * The emoji's id
* @type {?Snowflake} * @type {?Snowflake}
*/ */
this.id = emoji.id; this.id = emoji.id ?? null;
} }
/** /**