raw
logbot_command_ro...    1 """
logbot_command_ro... 2 Set your postgres connection info
logbot_command_ro... 3 NOTE: If your Postgres socket is located somewhere other than '/var/run/postgresql/',
logbot_command_ro... 4 you will have to specify your host in the postgres connection string . E.g. 'host=/tmp/'
logbot_command_ro... 5 """
logbot_command_ro... 6 postgres = {'connection_string': 'dbname=your_postgres_db user=your_postgres_user',
logbot_command_ro... 7 'channel': 'log_new_message'}
logbot_command_ro... 8 """
logbot_command_ro... 9 Set your bot name and command prefix
logbot_command_ro... 10 """
logbot_command_ro... 11 bot = {'bot_name': 'your_bot',
logbot_command_ro... 12 'bot_command_prefix': '!your_command_prefix'}
logbot_command_ro... 13 """
logbot_command_ro... 14 Set this to True if you want main.py to pass ALL irc messages to router.py
logbot_command_ro... 15 instead of just messages intended to be commands (i.e. messages starting with bot_command_prefix).
logbot_command_ro... 16 This could be useful if, e.g. you are making an archive bot or a log quoter.
logbot_command_ro... 17 """
logbot_command_ro... 18 route_all_notifications = False
logbot_command_ro... 19 """
logbot_command_ro... 20 Set your list of irc nicks to ignore
logbot_command_ro... 21 Irc messages originating from a nick on this list will be 'ignored' by main.py
logbot_command_ro... 22 (i.e. those messages will not be processed nor commands routed)
logbot_command_ro... 23 This could be useful if, e.g. you are running many bots in the same channel and don't want them talking to each other.
logbot_command_ro... 24 """
logbot_command_ro... 25 ignore_list = ('examplebot','gavinandresen')