From d9eef1c1f3339850078dbb23f15913c50cfe7058 Mon Sep 17 00:00:00 2001 From: furtidev Date: Fri, 26 May 2023 18:11:46 +0600 Subject: [PATCH] always use celcius --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index c2a5a23..c9fd60f 100644 --- a/main.go +++ b/main.go @@ -79,7 +79,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) { c := strings.Fields(m.Content) if len(c) == 2 { // contact wttr.in - url := fmt.Sprintf("https://wttr.in/%s?0QAT", c[1]) + url := fmt.Sprintf("https://wttr.in/%s?0QATm", c[1]) resp, err := http.Get(url) if err != nil { fmt.Printf("ERROR while running $weather: %s", err)