AvalonBot is a Discord bot which moderates The Resistance and The Resistance: Avalon games. The base ruleset for both games are supported, as well as the optional "targeting" rule (soon™); several home-made roles are also included (soon™).
AvalonBot is maintained by Cameron Hu and Matt Wiens and is licensed under the GNU General Public License v3.0.
The first thing you need to do is set up a Discord app account at the Discord Developer Portal.
Then, after cloning this repository and installing the required packages with
npm install
copy the example .env file as follows:
cp .env.example .env
Fill in your Discord API token.
From the root of the repository, Running
node -r esm .
After AvalonBot has been invited and added to your Discord server, type
!init in any channel to initialize AvalonBot in that channel. From
there, AvalonBot will guide you through how to use it.