Skip to content

Commit

Permalink
Update Emoji.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Starman3787 committed Oct 18, 2024
1 parent ab4f02b commit b9f4578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/Emoji.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class Emoji {
* @public
*/
get url() {
return Emoji.getUrl(this.id, this.animated);
return this.id ? Emoji.getUrl(this.id, this.animated) : null;
}

/**
Expand Down

0 comments on commit b9f4578

Please sign in to comment.