BruhBot is a chatbot for use with the Discord chat service.
- Ruby 2.1+
- Bundler Ruby Gem Bundler.
- Image Magick
Other dependencies are listed in the Gemfile.
Installation - Linux
Install dependencies using the command:
sudo apt-get install git libav-tools imagemagick libmagickwand-dev ffmpeg
Run the command:
git clone https://github.com/FormalHellhound/BruhBot.git yourfoldername
Go into the directory you just cloned into with:
Clone the plugins repository with:
git clone https://github.com/FormalHellhound/BruhBot-Plugins.git plugins
Bundler Install bundler by running the following command:
gem install bundler
Now run the command:
bundle installto install all of the dependencies.
Make a copy of apikeys.json.sample and name it apikeys.json
Open apikeys.json and fill in the desired API keys.
Go through each plugin folder in plugins, and copy the sample config files to config.json and make any desired changes.
Running - Linux
I recommend running using screen, so that you can have it run in the background while doing other things in the terminal.
Install screen with:
sudo apt-get install screen
Navigate to the folder where you cloned the project, and run:
screen -S BruhBotYou can replace BruhBot with whatever name is easy for you to remember.
You will be in a screen. Run the command:
Hold control and press a and then d to disconnect from the screen.
To rejoin the screen run:
screen -r BruhBotBruhBot would be the name of your screen if you changed it to something else in Step 3.
Hold control and press c in the screen to stop the bot, or run the !shutdown command in your Discord server.