diff --git a/AI Room Booking Chatbot [IBM WATSON]/IBM_Cloud_Function.py b/AI Room Booking Chatbot [IBM WATSON]/IBM_Cloud_Function.py index d8c68ce..aa4b860 100644 --- a/AI Room Booking Chatbot [IBM WATSON]/IBM_Cloud_Function.py +++ b/AI Room Booking Chatbot [IBM WATSON]/IBM_Cloud_Function.py @@ -14,7 +14,7 @@ def main(args): msg['Subject']="Booking request" phone = args.get("phone") date = args.get("date") - time = args.get("time") + timer = args.get("time") message = f"Hello team, \nThis is your AI Chatbot. We got a room booking request at {date} {time}. Phone number is {phone}. \n\nThanks and Regards,\nyour AI Chatbot." msg.attach(MIMEText(message, 'plain')) s.send_message(msg)