Skip to content

Releases: AverageHelper/Gamgee

v1.6.5

22 Jun 01:12
230f655
Compare
Choose a tag to compare

Fixed

v1.6.4

22 Jun 00:32
ae8325b
Compare
Choose a tag to compare

Changed

  • Made /stats output a bit more consistent with itself.
  • Dependency audit time! We've updated most every dependency except ORM stuff. (I plan to do something special about those later, so stay tuned!)
    • node-fetch is ESM-only now, but Jest doesn't play well with that yet. There's a race to see whether that'll get fixed before Node 18 gets popular. In the meantime, we use node-fetch-cjs instead.
    • Updated Prettier means that we no longer need parentheses around as unknown casts.
    • Updated ESLint rules have pointed out that we really shouldn't be returning un-awaited Promises. I've fixed that, and my tooling assures me that every returned Promise now gets an await friend! 😄 We may never know if this change made a difference at runtime, but even an invisible improvement is a good improvement imo.
    • We now require Node 16.10.x, because Jest does.
  • Slightly better internal organization, taking advantage of clearer discord.js TypeScript definitions

Fixed

  • Fixed a bug which could allow multiple requests to sneak into the queue if they were submitted at about the same time as the queue auto-closed.

Dev note: If you use VS Code and the Prettier extension, you may need to reload your window after pulling this down, or else Prettier might not correctly apply its updated opinions.

v1.6.3

15 Jun 16:06
90170e0
Compare
Choose a tag to compare

Fixed

  • Fixes (I hope) a bug that caused button interactions to sometimes fail as the interaction token expires during long-running database writes. We now defer interactions first!

v1.6.2

15 Jun 15:21
8cf956d
Compare
Choose a tag to compare

Changed

  • ?ping no longer pings the calling user, to be consistent with the behavior of /ping

Fixed

  • Fixed crash when users would send a message in a voice text channel
  • /t now replies ephemerally always, even if Gamgee thinks the channel is a DM

v1.6.1

08 Jun 02:08
01fb361
Compare
Choose a tag to compare

Changed

  • No runtime changes this version. The only change was to a setup file that handled the (infrequent) deployment of app commands to Discord. If you had trouble with the deployment in 1.6.0, this should fix that.
  • Due to discord-api-docs#4830, we no longer try to set app command permissions. We'll handle that with the same runtime fallback that message command permissions use.

In the future, we may set the default command permissions using new API constructs, and lean on Discord's UI to let guild admins configure command permissions as they see fit.

v1.6.0

17 May 22:13
5f5bba1
Compare
Choose a tag to compare

After updating, be sure to run npm ci && npm run build:clean && npm run migrate before running the bot.

Added

  • Add a new limit for the minimum duration of a submission
  • Special messaging when the queue is very nearly full

Changed

  • Make /stats output clearer
  • Clearer message when Gamgee auto-closes an overfull queue
  • Reorganize some code internally so we can better catch Slash Command edge cases

Known Issues

  • The command deployment script removes guild-level slash-commands. Working on a fix for that now. As a workaround, avoid running npm run setup or npm run commands:deploy in this version.

v1.5.0

24 Apr 03:42
6bcb97e
Compare
Choose a tag to compare

This update adds a field to the database schema, and adds new commands. Remember to run npm run setup to migrate the database and update Discord's command index.

Added

  • Added /stats to show users their personal queue stats
  • Added /cooldown to show users their personal cooldown timer
  • Added a configurable limit to the queue's total estimated playtime
    • If a submission would take the total playtime over the configured limit, then Gamgee closes the queue.
    • You'd remove the limit in the same way you remove other limits: set it to 0 or null.
  • Gamgee tells you the length of your submission if it was rejected for length reasons

Changed

  • Gamgee only shows the number of users who used /now-playing when that number is greater than zero.
  • Made /version readout less verbose
  • Updated TypeScript to version 4.6.3, and cleaned up the code a bit
  • Named imports are nice
  • Organized internal error structures

Removed

  • Removed personal stats functionality from /limits

Fixed

  • Gamgee no longer adds "(Reply from ...)" when the message it's replying to was already a DM
  • Preprocess SoundCloud links so Gamgee doesn't balk at query params or redirect links
  • [For bot admins] Fixed migration errors. You should be able to run npm run migrate or npm run setup now without issues!
  • Fixed some edgy crash cases

v1.4.1

22 Apr 23:54
d7b5c69
Compare
Choose a tag to compare

Changed

  • Named exports are nice

Fixed

  • Fixed some dependency vulnerabilities
  • Fixed an issue which would cause /now-playing to wreck the formatting of queue messages

v1.4.0

17 Mar 17:54
0f7c126
Compare
Choose a tag to compare

Added

  • Add support for Pony.FM track links
  • Link to platform support documentation everywhere it makes sense

Changed

  • Move platform support documentation to README

v1.3.2

10 Mar 04:06
0a88d9e
Compare
Choose a tag to compare

Fixed

  • Fixed a bug where running /quo restart would fail to clear queues over 100 messages while silently dropping the local queue cache.