Discord Bot that provides helpful functionality for OSRS raiding.
- Run
npm install
- Fill out the values in the config.json file
- Run
node buildInitialTable.js
to create the database structure needed for the bot - Run
node app.js
to populate the database with item information and start the bot
help
: provides an overview of the bots functionality by listing out all commands the bot can respond torotation
: Sends a picture of the 2 possible raid rotationsitem [itemName]
: Displays the drop rate and current price in the database for the specified raid item.drop [points]
: Calculates the % chance of receiving a unique drop based on the amount of points accumulated in a raid based off the RS Wiki
token
: The token of your Discord bot. This guide goes through the process of creating a Discord botprefix
: This is the character the bot will look out for when responding to commands, i.e. if the prefix is set to!
the bot will listen for messages starting with!
db_user
: The username for your MongoDB Clusterdb_password
: The password for your MongoDB Clusterdb_url
: The hostname of your MongoDB Clusterdb_name
: The name of your databasedb_collection
: The name of the collection within your database holding the OSRSRaidBot item valuesupdate_item_interval
: How often the bot will update the item prices within your database in ms (defaulted to 15 minutes)