yuripeyamashita
commited on
Commit
•
7893664
1
Parent(s):
13edd55
Update app.py
Browse files
app.py
CHANGED
@@ -21,8 +21,9 @@ def api():
|
|
21 |
payload = get_payload_dict(request.get_json())
|
22 |
print(payload)
|
23 |
username = get_username(payload)
|
|
|
24 |
print(username)
|
25 |
-
send_text(payload.get("token"), f"{username}:{
|
26 |
except:
|
27 |
pass
|
28 |
return "", 200
|
|
|
21 |
payload = get_payload_dict(request.get_json())
|
22 |
print(payload)
|
23 |
username = get_username(payload)
|
24 |
+
text = payload.get("msg_text")
|
25 |
print(username)
|
26 |
+
send_text(payload.get("token"), f"{username}:{text}")
|
27 |
except:
|
28 |
pass
|
29 |
return "", 200
|