Skip to content

Commit

Permalink
Add weather variable for chatbot (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
styler authored Sep 28, 2023
1 parent 7273183 commit cd2c8ce
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/chatbot/variables/weather.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
id: weather
tags:
- chatbot
- variable
---

# $(weather)

Displays the current weather conditions for a given location.

#### Parameters

- `location`: The location to get the weather for. (i.e. New York, NY)

#### Example Input

`$(weather "New York, NY")`

#### Example Output

```
New York, United States of America: 🌜 13.9 °C (57.0 °F). Feels like 12.6 °C (54.8 °F). Overcast. Wind is blowing from the Northeast at 3.6 km/h (2.2 mp/h). 81% humidity. Visibility: 16 km (9 miles). Air pressure: 1026 hPa.
```

0 comments on commit cd2c8ce

Please sign in to comment.