mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-02 08:12:34 +01:00
Updated jeffk.
This commit is contained in:
parent
4040b24dba
commit
173f99ca76
@ -592,7 +592,10 @@ class Fun(callbacks.Privmsg):
|
||||
return m.group(0)
|
||||
return f
|
||||
def randomExclaims(m):
|
||||
return ('!'*random.randrange(1, 5)) + m.group(1)
|
||||
if random.random() < 0.85:
|
||||
return ('!' * random.randrange(1, 5)) + m.group(1)
|
||||
else:
|
||||
return '.' + m.group(1)
|
||||
def randomlyShuffle(m):
|
||||
L = list(m.groups())
|
||||
random.shuffle(L)
|
||||
|
Loading…
Reference in New Issue
Block a user