mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Use randint instead
This commit is contained in:
parent
d557443883
commit
0adde0c117
@ -329,7 +329,7 @@ def standardSubstitute(irc, msg, text):
|
|||||||
text)
|
text)
|
||||||
t = pow(2,30)*random.random()+time.time()/4.0
|
t = pow(2,30)*random.random()+time.time()/4.0
|
||||||
text = randomdatere.sub(time.ctime(t), text)
|
text = randomdatere.sub(time.ctime(t), text)
|
||||||
text = randomintre.sub(random.random(), text)
|
text = randomintre.sub(str(random.randint(-1000, 1000)), text)
|
||||||
text = whore.sub(msg.nick, text)
|
text = whore.sub(msg.nick, text)
|
||||||
text = botnickre.sub(irc.nick, text)
|
text = botnickre.sub(irc.nick, text)
|
||||||
text = todayre.sub(time.ctime(), text)
|
text = todayre.sub(time.ctime(), text)
|
||||||
|
Loading…
Reference in New Issue
Block a user