2014-09-14 12:26:39 +02:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
|
2014-09-27 05:59:35 +02:00
|
|
|
import time
|
|
|
|
|
|
2014-09-14 12:26:39 +02:00
|
|
|
if '__main__' == __name__:
|
|
|
|
|
print '''this is a config file, which is not meant to be executed'''
|
|
|
|
|
exit(-1)
|
|
|
|
|
|
|
|
|
|
config = {}
|
|
|
|
|
config['src-url'] = 'FIXME'
|
|
|
|
|
|
2014-09-27 03:40:27 +02:00
|
|
|
config['bot_user'] = 'urlbot'
|
|
|
|
|
config['bot_owner'] = 'FIXME'
|
|
|
|
|
|
2014-09-27 05:56:39 +02:00
|
|
|
config['hist_max_count'] = 5
|
|
|
|
|
config['hist_max_time'] = 10 * 60
|
|
|
|
|
|
2014-09-27 05:59:35 +02:00
|
|
|
config['uptime'] = -time.time()
|
|
|
|
|
|
2014-09-24 21:35:51 +02:00
|
|
|
# the "dice" feature will use more efficient random data (0) for given users
|
|
|
|
|
config['enhanced-random-user'] = ( 'FIXME', 'FIXME' )
|
|
|
|
|
|
2014-09-14 12:26:39 +02:00
|
|
|
def conf(val):
|
|
|
|
|
if val in config.keys():
|
|
|
|
|
return config[val]
|
|
|
|
|
return None
|