diff --git a/endpoints.go b/endpoints.go index 2f598b4..b2e6326 100644 --- a/endpoints.go +++ b/endpoints.go @@ -115,8 +115,8 @@ var ( return EndpointCDNGuilds + gId + "/users/" + uID + "/avatars/" + aID + ".gif" } - EndpointRoleIcon = func(rID, cID string) string { - return EndpointCDNRoleIcons + rID + "/" + cID + ".png" + EndpointRoleIcon = func(rID, hash string) string { + return EndpointCDNRoleIcons + rID + "/" + hash + ".png" } EndpointChannel = func(cID string) string { return EndpointChannels + cID }