diff --git a/tool.go b/tool.go index a664af9..242061b 100644 --- a/tool.go +++ b/tool.go @@ -140,8 +140,6 @@ func getHighestRole(guildID string, c bot.Client) (*discord.Role, error) { return highestRole, nil } -func ptr(s string) *string { return &s } - func hexToDecimal(hexColor string) int { hexColor = strings.TrimPrefix(hexColor, "#") decimal, err := strconv.ParseInt(hexColor, 16, 64) @@ -151,11 +149,6 @@ func hexToDecimal(hexColor string) int { return int(decimal) } -func decimalToHex(decimal int) string { - hexString := strconv.FormatInt(int64(decimal), 16) - return hexString -} - func simpleGetFromAPI(key string, url string) interface{} { client := &http.Client{} req, err := http.NewRequest("GET", url, nil)