Преглед изворни кода

adds support for animated emojis (#496)

Sebastian Winkler пре 7 година
родитељ
комит
e6ed3d579b
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      structs.go

+ 1 - 0
structs.go

@@ -203,6 +203,7 @@ type Emoji struct {
 	Roles         []string `json:"roles"`
 	Managed       bool     `json:"managed"`
 	RequireColons bool     `json:"require_colons"`
+	Animated      bool     `json:"animated"`
 }
 
 // APIName returns an correctly formatted API name for use in the MessageReactions endpoints.