Built with node.js using the default Discord example bot structure, this application facilitates the gameplay of the tabletop RPG "The Quiet Year". The original game is available on buriedwithoutceremony.com.
Please note: this bot does not take into account the drawing aspect of the game, as it's intended to be used with a third-party, online collaborative drawing space such as Bluescape.
Please follow the install process outlined here
Registers the user as a player in the active game
Registers the user as a player with mod privileges in the active game
Starts a new game of The Quiet Year
Lists all active players
Adds a scarcity to the game with the specified resource name
Adds an abundance to the game with the specified resource name
Removes an abundance from the game with the specified resource name
Removes a scarcity from the game with the specified resource name
Lists all current abundances
Lists all current scarcities
Starts the game and sets player order
Starts the current week for the active player
Ends the current week and passes the turn to the next player
Adds a new project with the specified name and duration (in weeks)
Lists all projects, grouped by their status (active, completed, or failed)
Removes a project with the specified project number from the list
Marks a project with the specified project number as completed
Marks a project with the specified project number as failed
Displays available actions depending on whether the user is the active player or not
Allows a player to take a contempt token
Allows a player to use a contempt token, if they have one
Displays the current number of contempt tokens a player has
Logs an event with the specified details to the game's event log
Saves the current game state
Loads a saved game state, if available
The bot is designed to be a user-friendly interface for playing The Quiet Year on Discord. It keeps track of game states, players, projects, abundances, scarcities, contempt tokens, and events. It also provides an intuitive way for users to interact with the game through a set of simple commands.