mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
scope fixes; put uptime to conf()
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import time
|
||||
|
||||
if '__main__' == __name__:
|
||||
print '''this is a config file, which is not meant to be executed'''
|
||||
exit(-1)
|
||||
@@ -13,6 +15,8 @@ config['bot_owner'] = 'FIXME'
|
||||
config['hist_max_count'] = 5
|
||||
config['hist_max_time'] = 10 * 60
|
||||
|
||||
config['uptime'] = -time.time()
|
||||
|
||||
# the "dice" feature will use more efficient random data (0) for given users
|
||||
config['enhanced-random-user'] = ( 'FIXME', 'FIXME' )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user