Pārlūkot izejas kodu

fix: max chars arg missing

master
Rohan Verma pirms 6 gadiem
vecāks
revīzija
f731da54c0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      main.py

+ 1
- 1
main.py Parādīt failu

text = 'Thanks for adding me to "%s"!' % event['space']['displayName'] text = 'Thanks for adding me to "%s"!' % event['space']['displayName']
return json.jsonify({'text': text}) return json.jsonify({'text': text})
elif event['type'] == 'MESSAGE': elif event['type'] == 'MESSAGE':
text = text_model.make_short_sentence()
text = text_model.make_short_sentence(280)
return json.jsonify({ return json.jsonify({
'cards': [{ 'cards': [{
'sections': [{ 'sections': [{

Notiek ielāde…
Atcelt
Saglabāt