mirror of
https://github.com/miaowware/qrm2.git
synced 2026-06-05 15:35:01 -04:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6074f5bc45 | |||
| 23ca74253d | |||
| af68be2b2a | |||
| 2ae11058b2 | |||
| eba8eec5ac | |||
| d6e381efec |
+8
-1
@@ -7,6 +7,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
|
||||||
|
## [2.5.1] - 2020-12-10
|
||||||
|
### Fixed
|
||||||
|
- The result of `?greyline` was cached by discord and would get out of date.
|
||||||
|
- Broken reaction functionality in `?hamstudy`.
|
||||||
|
|
||||||
|
|
||||||
## [2.5.0] - 2020-10-31
|
## [2.5.0] - 2020-10-31
|
||||||
### Added
|
### Added
|
||||||
- Italian (`it_hf`, `it_vhf`, `it_shf`), Japanese (`jp`) and Australian (`au`) band charts.
|
- Italian (`it_hf`, `it_vhf`, `it_shf`), Japanese (`jp`) and Australian (`au`) band charts.
|
||||||
@@ -138,7 +144,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
## 1.0.0 - 2019-07-31 [YANKED]
|
## 1.0.0 - 2019-07-31 [YANKED]
|
||||||
|
|
||||||
|
|
||||||
[Unreleased]: https://github.com/miaowware/qrm2/compare/v2.5.0...HEAD
|
[Unreleased]: https://github.com/miaowware/qrm2/compare/v2.5.1...HEAD
|
||||||
|
[2.5.1]: https://github.com/miaowware/qrm2/releases/tag/v2.5.1
|
||||||
[2.5.0]: https://github.com/miaowware/qrm2/releases/tag/v2.5.0
|
[2.5.0]: https://github.com/miaowware/qrm2/releases/tag/v2.5.0
|
||||||
[2.4.1]: https://github.com/miaowware/qrm2/releases/tag/v2.4.1
|
[2.4.1]: https://github.com/miaowware/qrm2/releases/tag/v2.4.1
|
||||||
[2.4.0]: https://github.com/miaowware/qrm2/releases/tag/v2.4.0
|
[2.4.0]: https://github.com/miaowware/qrm2/releases/tag/v2.4.0
|
||||||
|
|||||||
+3
-1
@@ -86,7 +86,9 @@ class ImageCog(commands.Cog):
|
|||||||
embed = cmn.embed_factory(ctx)
|
embed = cmn.embed_factory(ctx)
|
||||||
embed.title = "Current Greyline Conditions"
|
embed.title = "Current Greyline Conditions"
|
||||||
embed.colour = cmn.colours.good
|
embed.colour = cmn.colours.good
|
||||||
embed.set_image(url=self.gl_url)
|
# Generate a nonce to force discord to recache this
|
||||||
|
cachenonce = (ctx.message.id >> 22) // 1000 // 600 # nonce will stay the same for ~10min
|
||||||
|
embed.set_image(url=self.gl_url + f"&cachenonce={cachenonce}")
|
||||||
await ctx.send(embed=embed)
|
await ctx.send(embed=embed)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -12,5 +12,5 @@ authors = ("@ClassAbbyAmplifier#2229", "@0x5c#0639")
|
|||||||
description = """A bot with various useful ham radio-related functions, written in Python."""
|
description = """A bot with various useful ham radio-related functions, written in Python."""
|
||||||
license = "Released under the GNU General Public License v2"
|
license = "Released under the GNU General Public License v2"
|
||||||
contributing = "Check out the source on GitHub, contributions welcome: https://github.com/miaowware/qrm2"
|
contributing = "Check out the source on GitHub, contributions welcome: https://github.com/miaowware/qrm2"
|
||||||
release = "2.5.0"
|
release = "2.5.1"
|
||||||
bot_server = "https://discord.gg/Ntbg3J4"
|
bot_server = "https://discord.gg/Ntbg3J4"
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ intents = discord.Intents.none()
|
|||||||
intents.guilds = True
|
intents.guilds = True
|
||||||
intents.guild_messages = True
|
intents.guild_messages = True
|
||||||
intents.dm_messages = True
|
intents.dm_messages = True
|
||||||
|
intents.reactions = True
|
||||||
|
|
||||||
member_cache = discord.MemberCacheFlags.from_intents(intents)
|
member_cache = discord.MemberCacheFlags.from_intents(intents)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user