A quick, dirty, and unofficial discord dice bot for playing Savage Worlds Adventure Edition games. Click here to learn more about Savage Worlds, and to order your rule book from the fine folk at Pinnacle Entertainment Group. Or, check out their free test drive rules!
Currently supports:
/wild
wild card rolls with re-rolling and critical failures/extra
extra rolls with re-rolling and critical failures/roll
standard dice rolls with re-rolling/melee
wild card melee attack/extra-melee
standard melee attack
Invite the bot to your server using this link!
Since the bot app requires client and guild credentials, the easiest way to work on the bot will to be to create your own bot, and then use its credentials.
Once your bot is created, pull down the code and create your own branch/fork. Then create a config.json
file in the project root (it will be ignored by git
) and include the following:
{
"clientId": "<your bot's client ID>",
"guildId": "<the server you want to use for guild/development commands ID>",
"token": "<your bots token>"
}
Then follow these steps:
- Install
pnpm
: https://pnpm.io/installation - Install the dependencies with
pnpm i
- Start your local bot with
npm start
, which will watch for file changes and re-deploy commands before restarting the bot - Development commands will have a
-dev
suffix and will be deployed to the server you used for theguildId
inconfig.json
- Log messages are outputted to the terminal
console
- Commands will not become global until the next release
It is recommended you use vscode, project settings are committed in the .vscode
directory to assist with development.