Skip to content

Commit

Permalink
Merge pull request #103 from disgoorg/feature/animated-guild-banners
Browse files Browse the repository at this point in the history
  • Loading branch information
caneleex authored Mar 29, 2022
2 parents a9730e5 + 36458b5 commit a5e8a7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions discord/guild.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ type GuildFeature string
// Constants for GuildFeature
const (
GuildFeatureAnimatedIcon GuildFeature = "ANIMATED_ICON"
GuildFeatureAnimatedBanner GuildFeature = "ANIMATED_BANNER"
GuildFeatureBanner GuildFeature = "BANNER"
GuildFeatureCommerce GuildFeature = "COMMERCE"
GuildFeatureCommunity GuildFeature = "COMMUNITY"
Expand Down
2 changes: 1 addition & 1 deletion rest/route/route_endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ var (
GuildIcon = NewCDNRoute("/icons/{guild.id}/{guild.icon.hash}", PNG, JPEG, WebP, GIF)
GuildSplash = NewCDNRoute("/splashes/{guild.id}/{guild.splash.hash}", PNG, JPEG, WebP)
GuildDiscoverySplash = NewCDNRoute("/discovery-splashes/{guild.id}/{guild.discovery.splash.hash}", PNG, JPEG, WebP)
GuildBanner = NewCDNRoute("/banners/{guild.id}/{guild.banner.hash}", PNG, JPEG, WebP)
GuildBanner = NewCDNRoute("/banners/{guild.id}/{guild.banner.hash}", PNG, JPEG, WebP, GIF)

RoleIcon = NewCDNRoute("/role-icons/{role.id}/{role.icon.hash}", PNG, JPEG)

Expand Down

0 comments on commit a5e8a7a

Please sign in to comment.