diff --git a/zulip_bots/zulip_bots/bots/yoda/yoda.py b/zulip_bots/zulip_bots/bots/yoda/yoda.py index 843052e..6fe8396 100644 --- a/zulip_bots/zulip_bots/bots/yoda/yoda.py +++ b/zulip_bots/zulip_bots/bots/yoda/yoda.py @@ -67,7 +67,7 @@ class YodaSpeakHandler(object): ) if response.status_code == 200: - return response.text + return response.json()['text'] if response.status_code == 403: raise ApiKeyError if response.status_code == 503: