From 1ffd696aae7bb1f08b0cf14fb3c530666e9df78c Mon Sep 17 00:00:00 2001 From: Fedor Lapshin Date: Tue, 2 Jan 2024 11:19:34 +0300 Subject: [PATCH] refactor(EndpointRoleIcon): rename hash parameter --- endpoints.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }