A recode of bot bilby so it doesn't crash every 5 seconds.
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.
To install and run the bot, make sure that you have the following things set up/installed:
git clone https://github.com/The-Heeler-House/bot-bilby
bot-bilby
folder, and install the required package using npm:
npm i
.env
(note the dot at the start of the file). This will be where you'll store your secret data..env
file, fill in the following information (replace the dot between the quotation mark with actual value):
TOKEN="..." # the bot token
DEVELOPMENT_GUILD="..." # guild to register guild commands in. if this is omitted, global commands will be registered instead.
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.
testingIds.json
with your appropriate channel and role ids.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
Contributors: @jalenluorion, @sudoker0, and @CloudburstSys (Leah).
License: MIT