Merge pull request #82 from iopred/patch-4

Add GUILD_SPLASH endpoint. Closes #76.
This commit is contained in:
Bruce 2016-01-11 15:07:55 -06:00
commit 1fc37b8e32

View file

@ -66,6 +66,7 @@ var (
GUILD_EMBED = func(gID string) string { return GUILDS + gID + "/embed" } GUILD_EMBED = func(gID string) string { return GUILDS + gID + "/embed" }
GUILD_PRUNE = func(gID string) string { return GUILDS + gID + "/prune" } GUILD_PRUNE = func(gID string) string { return GUILDS + gID + "/prune" }
GUILD_ICON = func(gID, hash string) string { return GUILDS + gID + "/icons/" + hash + ".jpg" } 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 = func(cID string) string { return CHANNELS + cID }
CHANNEL_PERMISSIONS = func(cID string) string { return CHANNELS + cID + "/permissions" } CHANNEL_PERMISSIONS = func(cID string) string { return CHANNELS + cID + "/permissions" }