mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-04 17:22:38 +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 m.group(0)
|
||||||
return f
|
return f
|
||||||
def randomExclaims(m):
|
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):
|
def randomlyShuffle(m):
|
||||||
L = list(m.groups())
|
L = list(m.groups())
|
||||||
random.shuffle(L)
|
random.shuffle(L)
|
||||||
|
Loading…
Reference in New Issue
Block a user