1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

enhanced random mode for the "dice" command

This commit is contained in:
urlbot
2014-09-24 21:35:51 +02:00
parent d70c0161d5
commit e6950657b8
2 changed files with 10 additions and 3 deletions

View File

@@ -7,6 +7,9 @@ if '__main__' == __name__:
config = {}
config['src-url'] = 'FIXME'
# the "dice" feature will use more efficient random data (0) for given users
config['enhanced-random-user'] = ( 'FIXME', 'FIXME' )
def conf(val):
if val in config.keys():
return config[val]