botcha irc bot
Python Other
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 37 commits ahead, 9 commits behind but3k4:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
conf
db
lib
log
.gitignore
README.textile
bot.py
generate_key.py
gera_chave.py
gera_chave_cron.sh
init-d-gentoo-funtoo-botcha
ipinfo.py
ircbot.py
irclib.py
start.sh
ts.py

README.textile

Botcha Manual

Botcha is an python irc bot

Requirements:
python-2.6 (only)
sqlite3

Botcha uses some python libraries:

dev-python/irclib
dev-python/httplib2
dev-python/beautifulsoup
dev-python/mechanize
dev-python/lxml

Installation:

echo 'PYTHON_ABIS="2.6"' >> /etc/make.conf
emerge dev-db/sqlite dev-lang/python:2.6 dev-python/httplib2 dev-python/beautifulsoup dev-python/mechanize dev-python/lxml
useradd -m morfetico
su - morfetico
git clone https://github.com/area31/botcha
cd botcha
mkdir log
sqlite db/sqlite.db < db/schema.sql
vim conf/lokky.cfg

Start Botcha:

python bot.py

or

chmod +x start.sh && ./start.sh

Gentoo or Funtoo, install init:

cp init-d-gentoo-funtoo-botcha /etc/init.d/botcha
chmod +x /etc/init.d/botcha
rc-update add botcha