Switched Scripts to use ExtendedLoopingCall.
This commit is contained in:
parent
854a452f03
commit
9f2433b9c2
2 changed files with 61 additions and 102 deletions
|
|
@ -33,9 +33,9 @@ class BodyFunctions(Script):
|
|||
a random check here so as to only return 33% of the time.
|
||||
"""
|
||||
|
||||
if random.random() < 0.66:
|
||||
# no message this time
|
||||
return
|
||||
#if random.random() < 0.66:
|
||||
# # no message this time
|
||||
# return
|
||||
rand = random.random()
|
||||
# return a random message
|
||||
if rand < 0.1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue