Framework to program bots
OBJBOT is a python3 framework you can use to program bots. It makes it possible to program your own module enabling your own commands and contains serveral modules that can be used to program bots. OBJBOT has a MIT no-clause license.
you might need to do the following if the bot doesn’t work:
export PYTHONPATH="." export PYTHONIOENCODING="utf-8"
clone the source:
hg clone https://bitbucket.org/bthate/objbot cd objbot sudo python3 setup.py install --user
another option is to download with pip3:
pip3 install objbot --upgrade
user programmed modules are read from the ~/.mods directory, you can put your .py files over there.
def hi(event): event.reply("hi %s" % event.origin)