1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-10-04 00:29:04 +00:00

discord: Fix Emoji.String

This commit is contained in:
diamondburned 2022-06-19 23:03:09 -07:00
parent ea5251df0f
commit faec1da257
No known key found for this signature in database
GPG key ID: D78C4471CE776659

View file

@ -116,7 +116,7 @@ func (e Emoji) APIString() APIEmoji {
// String formats the string like how the client does.
func (e Emoji) String() string {
if e.ID == 0 {
if !e.ID.IsValid() {
return e.Name
}