Releases: LakeYS/Discord-Trivia-Bot
Releases · LakeYS/Discord-Trivia-Bot
v1.8.7 - Message intent fix, channel whitelist fix
TriviaBot 1.8.6 - Hotfix 9/2/2023
- Updated discord.js from 13.2.0 to 14.13.0.
- Added a new config option,
categories-in-channel. When enabled, typing 'trivia categories' lists the categories in the channel instead of the user's DMs.
TriviaBot 1.8.5 - Hotfix 12/15/2021
What's New
- Fixed unexpected game endings related to Discord interactions.
Changes for self-hosted instances
- Game timers now display in hours if the timer is longer than one hour. For example, "The answer will be revealed in x hours" instead of minutes.
- Fixed "Unknown interaction" errors disrupting the bot. Now displays a warning in console, "Failed to reply" or "Failed to update".
TriviaBot 1.8.4 - Nickname Abuse Fix
What's New
- Improved filtering to prevent usernames and nicknames from inserting formatting and links into game messages.
Changes for self-hosted instances
- Fixed improper handling for missing components. Now displays an error, "Failed to retrieve component..."
- "Received late response" errors now log additional relevant information.
- Added engines field to package.json, indicating the required version of node.js (16.6.0 or higher).
- Updated discord.js to 13.1.0.
TriviaBot 1.8.3 - Buttons Hotfix
What's New
- Answer buttons now cut off with "..." if an answer is greater than 80 characters in length.
- Fixed games stopping abruptly with either no error or "components[0].components[x].label: Must be 80 or fewer in length"
Changes for self-hosted instances
- File database now enforces an 80 character limit for answers unless
hangman-modeand/orallow-long-answersare enabled. This follows Discord's limit of 80 characters per button.
TriviaBot 1.8.2 - More Buttons
What's New
- When a round ends, the button corresponding to the correct answer now changes color.
- Buttons now become greyed out at the end of the round.
- The
trivia helpcommand now uses link buttons, replacing the text-based links within the response. trivia ping
Changes for self-hosted instances
- Fixed potential errors related to stat recording (stats.json) knocking the bot offline -- Now writes a warning in the console instead.
TriviaBot 1.8.1 - Hotfix
What's New
- Default round lengths have been updated to accommodate buttons. Rounds are now five seconds shorter and have a slightly shorter wait between rounds. (15 second rounds, 4 seconds in between)
Changes for self-hosted instances
- Updated discord.js to 13.0.1.
- Fixed console commands resulting in errors.
- Typing "exit" into the console now properly logs out from Discord, rather than leaving the bot online for several minutes.
- Sharding manager now always automatically restarts the bot.
TriviaBot 1.8 - Buttons
What's new
- Games now use buttons. Answers are accepted by button press rather than a typed answer. The new buttons are ideal for more serious competitions, as players can no-longer snoop on answers.
- The classic typed-answer mode is still accessible via
trivia play advanced. - Existing pre-made
trivia play advancedcommands may no-longer work as expected. - Advanced game command strings are no-longer enclosed in quotation marks, for easier copying.
- Added a warning message to
trivia play hangman. (Some questions not suited for hangman style gameplay)
Note: With the new buttons mode, reaction mode is planned to be removed in a future update.
Changes for self-hosted instances
- Added additional logging when a message fails to send.
This update requires Node.js 16.6 or higher. Check "Setting up the bot" under the install instructions for your OS.
Reactions mode is planned to be removed in a future update. Please plan accordingly if you rely on reaction mode.
v1.7 - Command Improvements
What's New
- Added a new command:
trivia play hangman. This command can be used to start hangman games more easily, without needing to go through advanced game setup. - The help command has been re-worked for readability.
- The "trivia ping" command has been removed -- it has been absorbed by "trivia help". You can now see shard and response information on the help command footer.
- Permissions errors no-longer ask for the defunct "Read messages" permission.
- Fixed admins only being able to forcibly cancel advanced game setup by typing "trivia stop". Typing "cancel" now works as well.
Changes for self-hosted instances
- Bot listing tokens have been moved to their own section in config, and now have a toggle named enable-listings.
- Added new config option,
stat-guild-recording. This option records to stats.json when guilds are created/deleted for the bot.
- Fixed error handling for when a token has not yet been provided -- now displays the intended messages.
- Fixed "Failed to delete player answer: Cannot execute action on a DM channel" errors in DM games with auto deletion.
- Fixed
reveal-answersconfig option defaulting to false if not specified in config
For more information on how to set up the new question parameters, see "Optional Configurations for Custom Questions" in the install guide: https://lakeys.net/triviabot/install.html#customQuestionsOptionals
v1.6.7 - Config Hotfix
- Removed old bot listing websites from the config file.
- Fixed rounds running endlessly if
use-fixed-roundsis not defined in config. (i.e. if you've imported config from an old version of the bot)
