If you just want to add the bot to your Discord server, just click here.
- Clone the github repo.
git clone https://github.com/charagarlnad/hBot.git
-
Install RVM using Ruby >= 2.5.
-
Install libopus, libsodium, OpenCV, cowsay, FFMPEG, ImageMagick, Youtube-DL and Python3.
-
Install Bundler.
gem install bundler
- Install the rest of the gems with Bundler.
bundle install
-
Rename data/config-template.yaml to config.yaml and fill out the required fields.
-
[Optional] Change global variables the bot uses in the main src/bot.rb file.
-
Run the bot.
bundle exec ruby run.rb