Skip to content

Releases: ScoreUnder/canti-bot

v2.2.2

20 Nov 06:02
v2.2.2
eb7d0df
Compare
Choose a tag to compare

Enhancements

  • Log errors in invocation of greentext-style quote command
  • Try to explain /private permission errors to the user (educated guesswork)

Maintenance

  • Use faster native SBT wrapper
  • The usual scala-steward dependency updates

v2.2.1: The "maintenance, what maintenance?" release

25 Aug 22:04
v2.2.1
2db78a4
Compare
Choose a tag to compare

Enhancements

  • Use soft references for caches - #39
  • Trim long descriptions in quote command - #90
  • Allow spaces in "greentext-style" quote command

Maintenance

  • Auto-formatter configured properly
  • Dependency updates
  • Fix warnings in test suite
  • Remove Java test shim now that the relevant Scala 3 bug is fixed scala/scala3#13040
  • Fork for sbt run
  • Make it easier to run on accounts lacking special permissions (e.g. messages)
  • Better debug output for voice channel & role related stuff

v2.2.0

22 Oct 23:47
v2.2.0
d799598
Compare
Choose a tag to compare

Enhancements

  • 1ea314c Make empty permission overrides look nicer in &permdiff
  • 8ce5e4f Truncate messages in &permdiff so that they can always be displayed
  • 3f5362f Allow permission application to unresolved entities
  • 29e5c3a Add "choice" type to slash commands
  • 026bca3 On permission error, show channel where permission is missing

New features

  • d799598 Allow slash commands in threads

Full Changelog: v2.1.1...v2.2.0

v2.1.1

18 Aug 21:27
v2.1.1
db31122
Compare
Choose a tag to compare

(Changes since 2.0.0)

New features

  • Every command is now a slash command too. (Lack of serverside permission checking kind of sucks but whatever 🤷‍♀️)
  • Commands show their argument list in &help
  • Stickers in &quoted messages are acknowledged (but not reproduced, mainly because of the size)
  • &permdiff command to show the difference between two channels' permission sets. Intended for checking why a channel is not synced to its category.

Enhancements

  • Remove voice role refresh timer (it used to periodically check that everyone's role is correct, but now it only runs a full check on reconnect and on &voicerole change)
  • More verbose logging around voice roles

Bug fixes

  • Fix async/await: on upgrade to scala 3, the behaviour was significantly different with the content of async being executed synchronously by default.

v2.0.0

14 Jul 03:23
v2.0.0
359f571
Compare
Choose a tag to compare

Enhancements

  • Log execution of slash commands
  • Disable JDA's online status cache and role tag cache (probably does something for memory usage)

Internals

  • Move to Scala 3 (except database parts, pending Slick update)
  • Use Scala 3's built-in null safety and safe-init
  • Change registration site of commands to happen inside CantiBot only

v1.6.0

14 Jun 18:45
v1.6.0
d264ec0
Compare
Choose a tag to compare

New features

  • Slash commands for private voice chats

Enhancements

  • Tell user about &invite after they use &private
  • Use buttons instead of reactions for &find and &voicekick
  • Use button instead of link for &quote

Behind-the-scenes

  • Use reproducible builds
  • Slim the binary down a little
  • Keep up-to-date with deps (enlisting scala-steward for help)

v1.5.0

06 Mar 05:03
v1.5.0
37b8d2a
Compare
Choose a tag to compare

New features

  • Remembers the latest &private/&public/&accept invocation for 10 minutes until the user joins voice chat. This allows users to get the order "wrong" (accidentally running the command before joining a voice channel) and still have it work.

Enhancements

  • Some more changes to stack trace printing behaviour.

v1.4.2

05 Feb 21:07
v1.4.2
eb92027
Compare
Choose a tag to compare

Logging changes.

Enhancements

  • Log a few more events, squash some others.
  • Squash traceback on failed &accept message deletion.
  • Log user-owned voice chat creation and deletion.

Bugs fixed

  • Fix deleted spoiler logging (previously it would consider every deleted message a deleted spoiler).
  • Fix NullPointerException in event logger on null user reacting to a message.

v1.4.1

29 Jan 02:28
v1.4.1
0524dd5
Compare
Choose a tag to compare

New features

  • Console logging is now configurable and all unified under SLF4J.
  • &ping command now shows ping to the API gateway.

Bugs fixed

  • An explicit "connect" permission grant was not always readded when revoking a temporary voice ban.

Enhancements

  • "Insufficient Permissions" errors now (usually) display which permission is missing.
  • Logging now by default excludes messages sent by users, and includes voice deafens and guild names.

Where's 1.4.0?

It was short-lived. You can either build it yourself or get it from https://gurren.score.moe/jenkins/blue/organizations/jenkins/canti-bot/detail/v1.4.0/1/artifacts. Its changelog has been rolled into this one.

v1.3.1

24 Jan 05:56
Compare
Choose a tag to compare

Bugs fixed

  • MANAGE_ROLES/MANAGE_PERMISSIONS is now filtered out of new voice chat permissions in response to recent discord API changes.

Enhancements

  • &vccat help text is now a little clearer.
  • &public/&private now don't repeatedly prefix the name if invoked multiple times.
  • Bot's name is now shown in &help instead of the text "Version"