yuripeyamashita
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def api():
|
|
20 |
try:
|
21 |
payload = get_payload_dict(request.get_json())
|
22 |
print(payload)
|
23 |
-
get_username(payload.get("
|
24 |
# res_text = opai.private_translate_api(payload.get("msg_text"))
|
25 |
# send_text(payload.get("token"), res_text)
|
26 |
except:
|
|
|
20 |
try:
|
21 |
payload = get_payload_dict(request.get_json())
|
22 |
print(payload)
|
23 |
+
get_username(payload.get("group_id"), payload.get("user_id"))
|
24 |
# res_text = opai.private_translate_api(payload.get("msg_text"))
|
25 |
# send_text(payload.get("token"), res_text)
|
26 |
except:
|