Skip to content

Commit 910e6f1

Browse files
committed
return!
1 parent 0c5b82e commit 910e6f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spotbot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get_previous_message(messageId):
7575
verb = "GET"
7676
target_url = target_url + f"/messages/{messageId}"
7777
response = requests.request(verb, url=target_url)
78-
response.json()['content']
78+
return response.json()['content']
7979

8080
def extract_message_id(response):
8181
return response.json()['id']

0 commit comments

Comments
 (0)