-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
35 lines (26 loc) · 1.12 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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.