This marks the release of Thoth v4! Yay! Here are the notable changes in this version:
User Facing
These are the changes most people care about — not the nitty-gritty technical stuff.
- Increased the
limit
of items returned in all word-fetching commands to 100 - Decreased the default
limit
to 25 - Added a
hide
option to all word-fetching commands (enabled by default), allowing users to show the results of their queries - Re-added the word pronunciation mp3 file to the definition command
- Added autocomplete to the definition command
- display the first
n
trending Merriam Webster queries when you select the command - and autocomplete as you type your query
- display the first
- Added better downstream error handling instead of crapping out and saying "This interaction timed out."
- Revised and moved the Terms of Service and Privacy Policy (thanks Chat GPT)
- Improved overall performance and response times
Technical changes
- Switched to Discord.js and sockets instead of receiving HTTP interactions (it's nice but I need some gateway stuff for metrics)
- thus ejecting Thothd, our gateway-only service for calculating guild count
- Switched to @yuudachi/framework for commandling
- Standardized the Datamuse API (this includes caching)
- Implemented a Discord webhook based command and server log
- Setup Promtail and Loki for logs via Grafana
- Switched to pnpm
- Performed some long-needed:
- dependency upgrades
- runtime upgrades (Node 20!)
- dependent-service upgrades (postgres, grafana)
Feature Requests
As always, if you have any feature requests or just need general support with Thoth, please visit our support server!