mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 02:23:31 +01:00
fix(Emoji): name can be null (#5513)
This commit is contained in:
@@ -18,9 +18,9 @@ class Emoji extends Base {
|
||||
|
||||
/**
|
||||
* The name of this emoji
|
||||
* @type {string}
|
||||
* @type {?string}
|
||||
*/
|
||||
this.name = emoji.name;
|
||||
this.name = emoji.name ?? null;
|
||||
|
||||
/**
|
||||
* The ID of this emoji
|
||||
|
||||
Reference in New Issue
Block a user