Releases: ScoreUnder/canti-bot
Releases · ScoreUnder/canti-bot
v2.2.2
v2.2.1: The "maintenance, what maintenance?" release
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
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
(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
"e
d 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 ofasync
being executed synchronously by default.
v2.0.0
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
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
"e
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
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
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
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
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"