mirror of
https://github.com/miaowware/qrm2.git
synced 2026-06-02 05:54:40 -04:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d33dad9f89 | |||
| be083d2cc8 | |||
| e2d1d1fc87 |
+7
-1
@@ -7,6 +7,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
## [Unreleased]
|
||||
|
||||
|
||||
## [2.7.6] - 2022-06-13
|
||||
### Fixed
|
||||
- Issue where `?muf` and `?fof2` would fail with an aiohttp error.
|
||||
|
||||
|
||||
## [2.7.5] - 2022-06-08
|
||||
### Changed
|
||||
- Bumped ctyparser to 2.2.1.
|
||||
@@ -219,7 +224,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
## 1.0.0 - 2019-07-31 [YANKED]
|
||||
|
||||
|
||||
[Unreleased]: https://github.com/miaowware/qrm2/compare/v2.7.5...HEAD
|
||||
[Unreleased]: https://github.com/miaowware/qrm2/compare/v2.7.6...HEAD
|
||||
[2.7.6]: https://github.com/miaowware/qrm2/releases/tag/v2.7.6
|
||||
[2.7.5]: https://github.com/miaowware/qrm2/releases/tag/v2.7.5
|
||||
[2.7.4]: https://github.com/miaowware/qrm2/releases/tag/v2.7.4
|
||||
[2.7.3]: https://github.com/miaowware/qrm2/releases/tag/v2.7.3
|
||||
|
||||
+2
-2
@@ -33,7 +33,7 @@ class PropagationCog(commands.Cog):
|
||||
async def mufmap(self, ctx: commands.Context):
|
||||
"""Shows a world map of the Maximum Usable Frequency (MUF)."""
|
||||
async with ctx.typing():
|
||||
async with self.session.get(self.muf_url) as r:
|
||||
async with self.session.get(self.muf_url, headers={"Connection": "Upgrade", "Upgrade": "http/1.1"}) as r:
|
||||
svg = await r.read()
|
||||
out = BytesIO(cairosvg.svg2png(bytestring=svg))
|
||||
file = discord.File(out, "muf_map.png")
|
||||
@@ -47,7 +47,7 @@ class PropagationCog(commands.Cog):
|
||||
async def fof2map(self, ctx: commands.Context):
|
||||
"""Shows a world map of the Critical Frequency (foF2)."""
|
||||
async with ctx.typing():
|
||||
async with self.session.get(self.fof2_url) as r:
|
||||
async with self.session.get(self.fof2_url, headers={"Connection": "Upgrade", "Upgrade": "http/1.1"}) as r:
|
||||
svg = await r.read()
|
||||
out = BytesIO(cairosvg.svg2png(bytestring=svg))
|
||||
file = discord.File(out, "fof2_map.png")
|
||||
|
||||
@@ -14,5 +14,5 @@ contributing = """Check out the [source on GitHub](https://github.com/miaowware/
|
||||
|
||||
All issues and requests related to resources (including maps, band charts, data) should be added \
|
||||
in [miaowware/qrm-resources](https://github.com/miaowware/qrm-resources)."""
|
||||
release = "2.7.5"
|
||||
release = "2.7.6"
|
||||
bot_server = "https://discord.gg/Ntbg3J4"
|
||||
|
||||
Reference in New Issue
Block a user