Skip to content

diethnis/Bruh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Bruh is an IRC plugin for Walnut written in Python 3. It implements most plugins from the old standalone IRC bot. It was created just to run mostly as a code execution bot on Rizon's #c++ channel. I use it to play with libraries so It's not the easiest bot to setup. If you definitely want to run it however check the requirements below and follow the instructions.

Requirements

Note: The old bot can still be found here. To run the bot, the following are required. Walnut should automatically be cloned along with this repository so as long as you have GHC, it should build with the setup script.

Required:

Optional:

  • Hyphentator (for the buttify plugin)
  • Flask (for the web.py plugin)

Setup

Clone this repository with the --recursive flag to automatically clone and prepare the submodules, you need to do this even if you cloned Walnut seperately as the driver for python Walnut plugins needs to be within Bruh's source tree.

git clone --recursive https://github.com/Reisen/Bruh.git

Build Walnut:

cd walnut
./Setup.hs build

Install Python Dependencies:

pip install -r requirements.txt

Make sure Redis is running. Then simply run python bruh.py to start bruh, then next run Walnut to start the connections to IRC. Modifications can be made to bruh and the python can be killed and restarted without issue, Walnut will maintain the connection to IRC at all times.

Releases

No releases published

Packages

No packages published

Languages

  • Python 77.1%
  • CSS 15.4%
  • HTML 5.7%
  • Shell 1.7%
  • JavaScript 0.1%