Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,7 +40,7 @@ def handle_event():
|
|
| 40 |
# Handle the event here
|
| 41 |
event=request.json['type']
|
| 42 |
print(event)
|
| 43 |
-
print(request)
|
| 44 |
if event=='url_verification':
|
| 45 |
# Respond to the challenge request with a 200 OK HTTP status code
|
| 46 |
# and the value of the challenge parameter in the response body
|
|
|
|
| 40 |
# Handle the event here
|
| 41 |
event=request.json['type']
|
| 42 |
print(event)
|
| 43 |
+
print(request.json['event'] ['text'])
|
| 44 |
if event=='url_verification':
|
| 45 |
# Respond to the challenge request with a 200 OK HTTP status code
|
| 46 |
# and the value of the challenge parameter in the response body
|