Skip to content

Jayromulus/SWADEbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SWADEbot

SWADEbot is a bot made using discord.js that has multiple tools helpful for referencing information and making rolls for the Savage Worlds system and affiliated works.

Installation

Clone the project and use the discord.js starter guide to create your own bot, then create a .env file with some variables in it used throughout the bot. This project does not use a config.json file, the documentation does but any such variables required are instead placed in the .env file

git clone https://github.com/Jayromulus/SWADEbot.git
npm i
npm start

.env

Name Value
TOKEN bot token generated on initial creation in the discord dev portal
CLIENT this is the application id you can find in the application information
GUILD server id where you will be using the commands, mostly useful for adding/deleting commands
IMAGE this is the image that appears in the footer of the embeds, to be removed when a better solution is found

Usage

Command Arguments Explanation
/ouch
toughness Number
damage Number
returns the damage recieved by a player, both toughness and damage are number inputs for the user, this will not
/potion
rank String
cost Number
strength String
calculates the price of a potion given a rank (as chosen from a list), the cost of the effect, and the strength of the potion
/roll
sets String
rolls dice following a format of `#d#(+/-#)` where the +/- section is optional. the first set is required while the second is optional, and an error will be send should the formatting be incorrect
/scroll
rank String
cost Number
calculates the price of a scroll with a given rank's inscription using the provided cost of the enchantment
/wand
rank String
cost Number
charges Number
calculates the price of a wand with a given rank's spell of the provided cost with a number of charges in it
/weapon
name String
sends an embed holding information about the selected weapon, as written in by autofill

Contributing

Currently only accepting requests from the group this was made for, though there may become open requests in the future should there be a large enough support for this project to warrant such a time commitment.

About

discord.js bot for Savage Worlds TTRPG Tools

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •