Explorar o código

Merge pull request #82 from iopred/patch-4

Add GUILD_SPLASH endpoint. Closes #76.
Bruce %!s(int64=9) %!d(string=hai) anos
pai
achega
1fc37b8e32
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      endpoints.go

+ 1 - 0
endpoints.go

@@ -66,6 +66,7 @@ var (
 	GUILD_EMBED        = func(gID string) string { return GUILDS + gID + "/embed" }
 	GUILD_PRUNE        = func(gID string) string { return GUILDS + gID + "/prune" }
 	GUILD_ICON         = func(gID, hash string) string { return GUILDS + gID + "/icons/" + hash + ".jpg" }
+	GUILD_SPLASH       = func(gID, hash string) string { return GUILDS + gID + "/splashes/" + hash + ".jpg" }
 
 	CHANNEL             = func(cID string) string { return CHANNELS + cID }
 	CHANNEL_PERMISSIONS = func(cID string) string { return CHANNELS + cID + "/permissions" }