always use celcius

This commit is contained in:
furtidev 2023-05-26 18:11:46 +06:00
parent 2201a35120
commit d9eef1c1f3
No known key found for this signature in database

View File

@ -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)