Welcome to Realm-of-Darkness-Bot! This codebase is designed to power multiple Discord bots for the World of Darkness gaming community.
- The
index-xx.js
files serve as shard managers for each respective bot. - The
xx-bot.js
files act as entry points for each bot. - The
events
folder manages Discord events. - The
commands
folder serves as the entry point for each Discord command event. - The
components
folder serves as the entry point for each component event. - The
modules
andstructures
folders contain functions and classes used throughout the program. - The
RealmAPI
folder handles all API requests to the server
The major libraries being used in this codebase include:
- Discord.js: A powerful library for interacting with the Discord API.
- Node.js: A JavaScript runtime environment.
- npm: A package manager for Node.js.
- Clone the repository:
git clone https://github.com/Mirai-Miki/Realm-of-Darkness-Bot.git
- Install the required dependencies:
npm install
- The bots require a config file in the root directory with the following structure: "config.json"
{
"dev": true,
// Client Ids
"clientId5th": "CLIENT_ID",
"clientId20th": "CLIENT_ID",
"clientIdCod": "CLIENT_ID",
// Tokens
"token5th": "TOKEN",
"token20th": "TOKEN",
"tokenCod": "TOKEN",
// Dev Server Id
"devServerId": "SERVER_ID",
// API Key for the server
"APIKey": "API_KEY"
}
- Start the bot:
npm run xx
where xx is the game version
To use the bot, invite it to your Discord server. Invite links can be found on https://realmofdarkness.app
Contributions are welcome! If you would like to contribute to this project, please follow these steps:
- Fork the repository
- Create a new branch:
git checkout -b my-feature-branch
- Make your changes and commit them:
git commit -am 'Add new feature'
- Push to the branch:
git push origin my-feature-branch
- Submit a pull request
This project is licensed under the AGPL License. See the LICENSE file for more information.
- Setting a ST role should force update members with that role.
- bot should create members for all active users on guild create
- /w rite does not do auto hunger yet
- Add Impairment penalty to sheet roll
- autocomplete character names
- ST updates should DM the update to the players
- Exp managment server wide
- Commands to compliment full sheets. Healing, damage ect.
- v20 blood point reduction management
- /resonance roll should auto update sheets
- compulsion roll should auto clan with sheet selected