-
+ E5B5BE2D2DB8E1309B0D34E87700B638915336E6B63413F90C15576A2B60BEFA4C9FC0F1D837B4E937032A67E95265FBE644756E44843134E65A3B1220CB0579
knobs/config.py
(0 . 0)(1 . 25)
60 """
61 Set your postgres connection info
62 NOTE: If your Postgres socket is located somewhere other than '/var/run/postgresql/',
63 you will have to specify your host in the postgres connection string . E.g. 'host=/tmp/'
64 """
65 postgres = {'connection_string': 'dbname=your_postgres_db user=your_postgres_user',
66 'channel': 'log_new_message'}
67 """
68 Set your bot name and command prefix
69 """
70 bot = {'bot_name': 'your_bot',
71 'bot_command_prefix': '!your_command_prefix'}
72 """
73 Set this to True if you want main.py to pass ALL irc messages to router.py
74 instead of just messages intended to be commands (i.e. messages starting with bot_command_prefix).
75 This could be useful if, e.g. you are making an archive bot or a log quoter.
76 """
77 route_all_notifications = False
78 """
79 Set your list of irc nicks to ignore
80 Irc messages originating from a nick on this list will be 'ignored' by main.py
81 (i.e. those messages will not be processed nor commands routed)
82 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.
83 """
84 ignore_list = ('examplebot','gavinandresen')