Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 1.37 KB

README.md

File metadata and controls

75 lines (50 loc) · 1.37 KB

burritobot

An irc bot that has undisclosed burrito opinions

Installing

Option 1: Manually in a virtualenv:

This method assumes you already have python 3 and python-virtualenv installed appropriately.

Create a virtualenv and activate it:

virtualenv burritoenv -p python3
source burritoenv/bin/activate

and install:

pip install irc
python setup.py install

Option 2: Using Vagrant (>= 1.3.0):

This method assumes a fairly recent version of Vagrant is already installed (see the vagrant website.)

The following downloads the base virtualbox VM (first time only), starts it up and installs:

vagrant up

To run (see below) you will also need to access the VM:

vagrant ssh

Running

If are not already in the activated burritoenv environment:

source burritoenv/bin/activate

To run:

burritobot --irc-channels "#channel1" "#channel2" --irc-nick mynick

The above will connect as mynick on freenode, joining #channel1 and #channel2.

To discover further options, run

burritobot --help

JavaScript eval

To enable the js plugin, you need to install node.js and cd scripts/js-sandbox, npm install.

Scheme eval

To enable the scheme plugin:

  • sudo apt-get install chicken-bin
  • chicken-install -sudo sandbox
  • csc scripts/scheme-sandbox/sandboxed.scm