theepicsnail / SuperBot2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run the following to setup a SuperBot2 instance.
This will create a folder called "SuperBot2" wherever you run it.

Note: to use the provided IRCConnector, you must have 'twisted' installed.
For a super quick start, copy and paste everything below into a shell to get the latest
and start running it after some basic configuration

#Clone the SB2 base.
git clone git://github.com/theepicsnail/SuperBot2.git

#--sb2irc stuff--
#Pull down the default producer (the IRC bot)
git submodule init
git submodule update
#edit the configuration for the sb2irc provider
mv SuperBot2IRC/SuperBot2IRC.cfg.example SuperBot2IRC/SuperBot2IRC.cfg
mv SuperBot2IRC/Autoload.cfg.example SuperBot2IRC/Autoload.cfg
vim SuperBot2IRC/SuperBot2IRC.cfg
vim SuperBot2IRC/Autoload.cfg

# Operation information:

#To start the bot run:
python Core.py

#or, preferbly
rm Logs/*; python Core.py

#To view all logs run:
python LogViewer.py Logs/* | less

#To view specific logs run:
python LogViewer.py Logs/Exception* | less

#Be warned currently the thread cleanup isn't great so if you ctrl-c or background and kill it, there will prossibly be hanging threads or processes.

About

License:Other


Languages

Language:Python 100.0%