Canary is a Python3 bot designed for the McGill University Community Discord Server. The bot provides helper functions to users, as well as fun functions, a quote database and custom greeting messages.
wttr command outputs a PNG with US units instead of metric. Likely caused by hosting from the US, since wttr.in selects units based on IP location of the query, and that this used to not be an issue when we were self-hosted.
How Has This Been Tested?
Verified URL with browser and curl.
Screenshots (if appropriate):
Before:
After:
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
See title. See https://github.com/chubin/wttr.in#weather-units for API documentation.
Motivation and Context
wttr command outputs a PNG with US units instead of metric. Likely caused by hosting from the US, since wttr.in selects units based on IP location of the query, and that this used to not be an issue when we were self-hosted.
How Has This Been Tested?
Verified URL with browser and curl.
Screenshots (if appropriate):
Before:
After:
Types of changes
Checklist: