Skip to content

The-Heeler-House/bot-bilby

Repository files navigation

Bot Bilby v4

A recode of bot bilby so it doesn't crash every 5 seconds.

Notices

This project was designed with The Heeler House as it's main target, so many of the functionality (Text Commands & Events) have been tailored specifically to THH. While you can change the config (in testingIds.json) to make the bot work for your own server, it is recommended that you install and use the bot only for development and testing purposes.

Setting Up

Dependencies

To install and run the bot, make sure that you have the following things set up/installed:

Install

  1. Clone the repo into your favorite directory (or if you don't have git, you can download the repo as a ZIP instead)
git clone https://github.com/The-Heeler-House/bot-bilby
  1. Change directory into the bot-bilby folder, and install the required package using npm:
npm i
  1. Create a new file in the root of the directory called .env (note the dot at the start of the file). This will be where you'll store your secret data.
  2. Inside the .env file, fill in the following information (replace the dot between the quotation mark with actual value):
TOKEN="..." # the bot token
PREFIX="..." # text command prefix, can be any length.
MONGO_URL="" # connection URL for MongoDB database (should be in the form of: "mongodb://...")
API_PORT=8080 # port that the BilbyAPI service will listen on. used for non-bilby related projects where data from bilby is needed.

S3_ENDPOINT="..." # Endpoint to access S3/MinIO instance
S3_ACCESS_KEY="..." # Access key for S3/MinIO instance
S3_SECRET_KEY="..." # Secret key for S3/MinIO instance
  1. Create a file named local.json in the config directory. Setup the configuration file by following the default.json file while filling the IDs specifically for your server.

Run the bot

Once everything have seen set up, compile and run the bot using:

npm run bot-unix # for people using MacOS/Linux

or

npm run bot-windows # for people using Windows

Credit & License

Contributors: @jalenluorion, @sudoker0, and @CloudburstSys (Leah).

License: MIT

About

Bot Bilby is a general Discord bot designed for The Heeler House.

Resources

License

Stars

Watchers

Forks

Contributors