Skip to content

v1.6 - The Advanced Games Update

Compare
Choose a tag to compare
@LakeYS LakeYS released this 08 Mar 04:53
· 684 commits to master since this release
53f2101

What's New

  • Advanced games! This is a brand new feature that lets you start a customized game. With advanced games, you can specify the mode of play, question difficulty, question type, and channel that the game will start in. Advanced games have a handful of brand new modes to play in, with more coming soon!
  • Hangman-style games! Hangman mode can be activated by starting an advanced game.
  • Reaction mode! This is a mode that uses reactions instead of typed answers. It can be activated by starting an advanced game.
  • Updated line spacing for the "trivia help" command.
  • Scores are now formatted properly (For example, "1,000" instead of "1000")
  • The "trivia stop" command can now stop games in other channels by typing "trivia stop #channel"
  • "Missing Access" and "Missing Permissions" errors now display a more descriptive error messages.

Server-Side Changes

  • The bot now detects the termination signal on Linux systems and exits cleanly. This reduces the potential for unexpected side effects when running the bot as a service or using other external process management.
  • Added config option "auto-delete-answers" - The bot will automatically delete players' typed answers when enabled. Does nothing if reaction mode is turned on. Bot must have the "manage messages" permission enabled in order to use.
  • Added the config option "auto-delete-answers-timer" - This works with the above config option, allowing a time to be set for how long before answers are deleted. Time is in milliseconds, with 0 being as quickly as possible. Timer accuracy will vary based on network latency.
  • Added the config option "embed-color" - This changes the color of the bot's responses from its default blue color. Colors are accepted in the form of hex codes.
  • Added the config option "hangman-mode" - This forces hangman mode to be enabled by default, without the use of advanced games.
  • Added the config option "channel-whitelist" - If any channels are specified, the bot will only work in those channels. Can specify either a channel name or an ID. Example: "channel-whitelist": [ "trivia-dev", "trivia-dev2", "261705677943209984" ]
  • Added the config option "config-commands-enabled" - Enables commands that allow for configuring the bot. See the documentation for more information: https://LakeYS.net/triviabot/install.html#commandConfig
  • Added the config option "score-multiplier-max" - Allows for setting a bonus multiplier for questions. Bonuses are given based on how many other players get the question incorrect. Recommended
  • Fixed the "command-whitelist" option not working correctly if there are multiple users on the whitelist.
  • Fixed the bot ignoring the "prefix" option in certain messages.
  • Windows install.bat no-longer calls "npm update".
  • Config warnings now show below the ASCII art instead of above it.
  • Removed the unused "additional-config-passthrough" and "additional-manager-passthrough" options.
  • Reworked the "additional-packages" option.

NOTICE: Before installing this update, it is recommended that you update Node.js to the latest LTS version on your system.