Releases: thegamecracks/theticketbot
v0.5.2
This release cleans up some messages left when administrating inboxes to improve UX, and also fixes a long-standing issue that caused the /inbox destination command to fail after changing an inbox's destination.
Note
Localizations have not yet been synced in this release. 10 of 124 strings across 2 languages are out of date.
v0.5.1
This release contains a few tweaks, but nothing that visibly affects the bot's functionality.
Changes
- Document recommended workflow in readme
- Slightly refactor a few source files
- Optimize a couple foreign key delete constraints
- Bump CI/CD and pre-commit actions
Note
Localizations have not yet been synced in this release. 10 of 124 strings across 2 languages are out of date.
v0.5.0
New Features
- Add
/inbox destination
to allow routing tickets to any channel- Can also be set during
/inbox create
with a newdestination
parameter
- Can also be set during
- Add version-based automatic synchronization of application commands
- Users should no longer need to use
theticketbot --sync
after installing an update. - If you are using multiple database files for the same bot, you should pass the
--no-sync
argument after switching databases to skip automatic synchronization.
- Users should no longer need to use
Changes
- Replace gettext localization system with more flexible Project Fluent files
- Compilation no longer required to use localizations
Note
Localizations have not yet been synced in this release. 10 of 124 strings across 2 languages are out of date.
v0.4.3
v0.4.2
New Features
- Automatically prompt to create a config.toml file in a user config directory if no config file is found (#10)
- To preserve backwards compatibility, config.toml will still be loaded from the current working directory if the new user config isn't present.
- This behaviour can be bypassed by explicitly passing a file path using the
--config-file
argument.
- Print loaded config file's path when using
--dump-config
Changes
- Suppress KeyboardInterrupt tracebacks in the CLI more reliably
Fixes
- Fix untranslated message when clicking "Create Ticket" on an unrecognized inbox
- Raise an exception when
--config-file
is given a non-existent file path
v0.4.1
New Features
- Add .jsonl logging to user log directory
Changes
- Replace hardcoded owner mention shown in error messages with the real bot owner given by the Discord API
- Clarify gettext dependency in readme
Fixes
- Don't unnecessarily create application / temporary directories at startup
v0.4.0.post1
This release adds a couple badges to the readme and fixes the readme image not showing up on the PyPI page.
v0.4.0
This is theticketbot's first release to go on PyPI! 🎉 You can now install the bot with:
pip install theticketbot
But before you install this version, please read the breaking changes below.
Changes
- BREAKING CHANGE: The default database path now defaults to a user-specific directory on your current platform.
- This path can be revealed by running
theticketbot --dump-config
. - Users who want to revert to the old behaviour must explicitly write
path = "data/theticketbot.db"
in their config file's[db]
table.
- This path can be revealed by running
- Add classifiers, license, keywords, and URLs to the project's metadata
- Unpin discord.py to
~=2.4
- Use PyPI version of asqlite pinned at
==2.0.0
Fixes
- Disable the polls intent by default, and don't enable any future standard intents when upgrading discord.py
Distribution archives will no longer be included in these releases as they will be uploaded to PyPI.
v0.3.2
New Features
- Add french localization, courtesy of @Bubobubobubobubo
- Add
--sync
command-line argument to make registering application commands easier
Distribution archives are included in this release.