All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Items marked with (Serenity) are improvements due to using an updated version of the Serenity framework for Discord.
v2.8.0 - 2024-07-23
- Add config option for a list of keywords to cause death messages to be ignored
- Add death message from Wardens
- Use anyhow for error handling
- Add handling for named entity deaths
- Add help command
v2.7.0 - 2022-07-27
- Ask for Message Content intent
- Disable bot token validation because it's broken upstream
- Update Serenity to 0.11.4
v2.6.0 - 2022-01-17
- Support Discord servers that have Stage Channels (Serenity)
- Prevent runtime errors because Discord added something that Serenity (the Discord Rust framework) doesn't implement yet (Serenity
- Better error messages from Discord (Serenity)
- Slash command support via interactions
- Configuration commands
- I don't think these were ever really used, and if an interface was desired, I'd much rather just build a web interface that the user can set up.
- Help command
- The help command is no longer needed since Discord commands have autocomplete.
v2.5.2 - 2021-04-03
- Support for different versions of the
list
command output
v2.5.1 - 2021-03-27
- Only ignore webhook messages if they are from the configured webhook
v2.5.0 - 2021-03-27
- Configuration commands to change various parts of the bot's config. See
!help config
for a list of subcommands - Configuration option to set the Regex pattern for parsing chat messages
- Config is saved to disk on start so that new options are present
- Webhook URL config option moved to main Discord config section
- Try to get a player's UUID from Mojang if they aren't in the name to UUID cache already
- Config option for bot token
- This now uses the environment variable named
DISCORD_TOKEN
- This now uses the environment variable named
- Config option to enable webhooks
- Webhooks will automatically be enabled if there is a URL set
v2.4.0 - 2021-03-08
- Use Crafatar for webhook avatar URLs instead of Minotar
- Simplify trimming log prefixes from messages
- Rewrote error enum and wrapping, allowing us to drop
err_derive
as a dependency - Update dependencies
v2.3.0 - 2021-01-27
- Add a converter to show Discord formatting in Minecraft
v2.2.0 - 2021-01-23
- Update dependencies
- Tokio runtime updated to 1.0
- Serenity updated to 0.10
- Allows handling of inline replies
- Uses the new Discord v8 API
- Don't lock global data for the entirety of each command task
- Use inline replies for command responses
v2.1.1 - 2020-12-11
- Fix full username mentions with discriminator not being parsed correctly
v2.1.0 - 2020-12-03
- Add ability to mention roles and channels from Minecraft
- Add an optional webserver implementation to listen for messages from other machines
- Log files being moved (such as maybe during log rotation) should no longer break the bot, if that was happening
- Fix mentions from Minecraft with spaces not creating a mention
- Print nicer-looking error messages
v2.0.1 - 2020-11-22
- Fix a bad value in the default configuration
- Eliminated a call to the Discord REST API when messages are received from Minecraft
- Replace ugly Discord mentions with names in messages to Minecraft
- Escape double quote characters in messages to Minecraft
v2.0.0 - 2020-11-8
- Add more customization options for chat formatting in Minecraft
- Improve experience when a user sends an attachment in Discord