/Idle-RPG-Bot

An Idle-RPG bot for Discord

Primary LanguageJavaScriptMIT LicenseMIT


MIT Liscense Patreon

Idle-RPG-Bot

An Idle-RPG bot for Discord created using node.js with the discord.js framework. This is an open-source project and is currently still in development. A lot is still to be done.

This is a project to practice and learn more on how to create a bot for Discord and to practice javascript. Anybody who is willing to join in on this project is welcome to do so!

To see this bot in action it is currently running at the Idle-RPG Discord Server

There is also a Idle-RPG Trello Board

Deploy Idle-RPG-Bot on Heroku

You can deploy in a simple way to Heroku using the button below.

Deploy to Heroku

Setup

Create a .env file in the project root directory with these env variables: (Without < >)

DISCORD_BOT_LOGIN_TOKEN=<Bot login token>
DISCORD_BOT_OPERATORS_ID=<Comma seperated list of Bot Operator ID's>
Example:
DISCORD_BOT_OPERATORS_ID=123456789
DISCORD_BOT_OPERATORS_ID=123456789, 987654321

MIN_TIMER=<Minimal Timer in minutes>
MAX_TIMER=<Maximum Timer in minutes>

MONGODB_URI=<MongoDB Connection URI>

Requirements

nodejs
mongodb

Installation

npm install
npm run start
(if on windows)
npm run start:windows