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 16, 2018
1 parent a949f40 commit 922f018
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions gambling.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,12 @@ def on_message():
global last
while True:
chatid = "478431088361078787"
client.send_message(chatid, "hi")

message = client.get_message(chatid)
try:
print(message)
input("")
#message = message.split("\"value\": \"")[1]
#message = message.split("\"}, {\"")[0]
#message = message.replace("\\u2705", "")

#print(message)
if message != last:
print(message)
if message.startswith("!withdraw"):
client.send_message(chatid, "plz give me some money :)")
last = message
except:
pass
Expand Down

0 comments on commit 922f018

Please sign in to comment.