always use celcius
This commit is contained in:
parent
2201a35120
commit
d9eef1c1f3
2
main.go
2
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)
|
||||
|
Loading…
Reference in New Issue
Block a user