Skip to content

Commit

Permalink
Update gambling.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vocabexpresshaxer authored Aug 20, 2018
1 parent 66014da commit 7f58e4c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions gambling.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ def on_message():
time.sleep(2)
timesincework += 2
if timesincework > 1000:
client.send_message(chatid, "!work")
time.sleep(0.5)
client.send_message(chatid, "!dep all")
if random.choice((True, False, False, False, False, False, False)):
client.send_message(chatid, "!work")
time.sleep(0.5)
client.send_message(chatid, "!dep all")
if message != last:
print(message)
if "> Withdrew <:" in message:
Expand Down

0 comments on commit 7f58e4c

Please sign in to comment.