Skip to content

jacobjdowning/boardbot

Repository files navigation

boardbot

A Discord bot for distributing hidden information to facilitate playing board games over Discord

Installation

npm install

Usage

token.js must be included in the root with a discord bot key

module.exports = 'TOKEN'

To start bot locally

node app.js

Testing

npm test

runs all test files that end in .test.js in folder test or child folders. Tests should be executed through the included mock version of Discord js. This mock takes in a list of message objects that represent messages from users and returns a log of all incoming and outgoing messages from the server if those messages were sent sequentially.

Contributing

Pull requests are welcome. As a general rule game states are saved in objects defined in /games and do not interact with discord.js. Responses to messages via Discord.js are handled in command files under /commands

A good first contribution might be adding another game you think will work well in the format.

License

MIT

About

A Discord bot for distributing hidden information to facilitate playing board games over Discord

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •