From f731da54c0b7d3068c96d7df281a641b32286821 Mon Sep 17 00:00:00 2001 From: Rohan Verma Date: Fri, 8 Nov 2019 16:24:46 +0530 Subject: [PATCH] fix: max chars arg missing --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index df54aa3..4dcbb36 100644 --- a/main.py +++ b/main.py @@ -27,7 +27,7 @@ def index(): text = 'Thanks for adding me to "%s"!' % event['space']['displayName'] return json.jsonify({'text': text}) elif event['type'] == 'MESSAGE': - text = text_model.make_short_sentence() + text = text_model.make_short_sentence(280) return json.jsonify({ 'cards': [{ 'sections': [{