Parcourir la source

fix: max chars arg missing

master
Rohan Verma il y a 6 ans
Parent
révision
f731da54c0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      main.py

+ 1
- 1
main.py Voir le fichier

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

Chargement…
Annuler
Enregistrer