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:
parent
ea5251df0f
commit
faec1da257
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue