Pārlūkot izejas kodu

adds support for animated emojis (#496)

Sebastian Winkler 7 gadi atpakaļ
vecāks
revīzija
e6ed3d579b
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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.