v1.6.6 - Cumulative Update for 2021
NOTE: Make sure to update to the latest version of Node.js LTS to install this update. See the install instructions for more info:
How to Install
What's New
- Reworded "Game will end" warnings for clarity -- now reads "Game will end in (x) rounds if there is no activity".
- Updated answer sorting to properly account for answers that use diacritics.
- Hangman game hints at the start of the game now start with "Hint:" for clarity.
- Fixed hangman games being shorter than intended.
- Fixed broken formatting in questions that contain underscores.
Changes for self-hosted instances
- Updated discord.js to 12.5.2
- Config and question files are now named
*.json.example
so that they are less likely to be overwritten by accident. - The sample database question files now use quotes, as this is a more ideal solution in case special characters are required in YAML. See here: https://github.com/LakeYS/Discord-Trivia-Bot/tree/master/Questions
- Added the
hangman-hints
option to enable or disable hangman hints. - Added the
reveal-answers
option to toggle whether answers are revealed at the end of a round. - Fixed numbers of rounds can now be set using
use-fixed-rounds
androunds-fixed-number
in config. - The shard process(es) now change their title to indicate when they are still initializing. (Example:
Trivia - Shard 0 (Initializing)
) - In debug mode, "Token" now reads "DB Token" instead for additional clarification.
- The console will now display the disconnect code and reason (if applicable) when the Discord client disconnects.
- The ASCII logo display is now disabled by default. It can be optionally re-enabled in config using the
display-ascii-logo
option. - Updated error messages in loading the config file to be more easily readable.
- Added additional clarification for error messages in the file database when the "difficulty" field is specified incorrectly.