diff --git a/endpoints.go b/endpoints.go index f92cef1..2f598b4 100644 --- a/endpoints.go +++ b/endpoints.go @@ -43,9 +43,6 @@ var ( EndpointCDNBanners = EndpointCDN + "banners/" EndpointCDNGuilds = EndpointCDN + "guilds/" EndpointCDNRoleIcons = EndpointCDN + "role-icons/" - EndpointRoleIcon = func(rID, cID string) string { - return EndpointCDNRoleIcons + rID + "/" + cID + ".png" - } EndpointVoice = EndpointAPI + "/voice/" EndpointVoiceRegions = EndpointVoice + "regions" @@ -118,6 +115,10 @@ var ( return EndpointCDNGuilds + gId + "/users/" + uID + "/avatars/" + aID + ".gif" } + EndpointRoleIcon = func(rID, cID string) string { + return EndpointCDNRoleIcons + rID + "/" + cID + ".png" + } + EndpointChannel = func(cID string) string { return EndpointChannels + cID } EndpointChannelThreads = func(cID string) string { return EndpointChannel(cID) + "/threads" } EndpointChannelActiveThreads = func(cID string) string { return EndpointChannelThreads(cID) + "/active" }