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 088e740 commit 56af36b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gambling.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ def on_message():
chatid = "478431088361078787"
message = client.get_message(chatid)
try:
#print(message)

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

#print(message)
if message != last:
Expand Down

0 comments on commit 56af36b

Please sign in to comment.