williamagyapong commited on
Commit
76bd636
·
verified ·
1 Parent(s): 331f8a6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -244,8 +244,8 @@ def hook():
244
  if message_type == "text":
245
  message = messenger.get_message(data)
246
  # Handle greetings
247
- if message.lower() in ("hi", "hello", "hola", "help", "how are you"):
248
- response = "Hi there! My name is SmartLedger. How can I help you today?"
249
 
250
  messenger.send_message(message=f"{response}", recipient_id=mobile)
251
  else:
 
244
  if message_type == "text":
245
  message = messenger.get_message(data)
246
  # Handle greetings
247
+ if message.lower() in ("hi", "hello", "hola", "help", "how are you", "sawubona"):
248
+ response = "Hi there! My name is Qx-SmartLedger. How can I help you today?"
249
 
250
  messenger.send_message(message=f"{response}", recipient_id=mobile)
251
  else: