welcome to GOZERBOT ;] see http://gozerbot.org
- a shell
- python 2.5
- setuptools
- gnupg
- simplejson
- sqlalchemy
!! make a separate user and group for the bot !!
(local)
- get the latest gozerbot-0.9.1.2all.tar.gz from http://gozerbot.org
- untar it
(global)
- run “easy_install gozerbot gozerplugs”
- run gozerbot-init
- edit gozerdata/mainconfig and gozerdata/fleet/default/config
- gozerbot-start is for bots running from ~/.gozerbot
- otherwise use the gozerbot program .. gozerbot (global) or ./bin/gozerbot (local)
- if you want to run the bot as a daemon do “gozerbot >> log 2>&1 &”
- on first startup the bot doesn’t join any channels, you will have to /msg thebot !join #channel .. the bot wil remember channels it has joined
- you can use the “meet <nick>” command to add other users to the bot
- if you installed the gozerplugs package, the plugins will not be loaded on default. use !reload <plugin> to enable a plugin. see the !available command to see what plugins can be reloaded
- when using commands in a /msg use –chan <channel> to let the command operate on a channel .. default channel in a /msg is the users nick
plugin config can be done with the <plugname>-cfg command usage:
!<plugname>-cfg -> shows list of all config !<plugname>-cfg key value -> sets value to key !<plugname>-cfg key -> shows list of key !<plugname>-cfg key add value -> adds value to list !<plugname>-cfg key remove value -> removes value from list !<plugname>-cfg key clear -> clears entire list !<plugname>-cfgsave -> force save configuration to diskor edit gozerdata/plugs/<plugname>/config
- we are on #dunkbots IRCnet
- MAKE REGULAR BACKUPS OF YOUR BOT DIRECTORY
- see http://gozerbot.org for the bot’s documentation
- gozerbot now uses sqlalchemy which will created the tables needed
- sqlite3 is now default
- for mysql support:
==> since we use utf-8 now mysql version 5 is required for non ascii users
- create the bot database in mysql: CREATE DATABASE gb_db;
- once you’ve done that add mysql access rules for the bot user: GRANT ALL PRIVILEGES ON gb_db.* TO user@host IDENTIFIED by ‘pass’; FLUSH PRIVILEGES;
- edit the gozerdata/mainconfig file to set dbtype to ‘mysql’ and dbname to ‘gb_db’
- run gozerbot-upgrade <oldbotdir> <newbotdir> .. 0.7 upgrading is not supported yet
main site - http://gozerbot.org
blog - http://blog.gozerbot.org
docs - http://gozerbot.org
development - http://dev.gozerbot.org
check http://blog.gozerbot.org for security “need to upgrade” notices. put a rss watcher on it ;]