Browse Source

fix: max chars arg missing

master
Rohan Verma 6 years ago
parent
commit
f731da54c0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      main.py

+ 1
- 1
main.py View File

@@ -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': [{

Loading…
Cancel
Save