Develop your chatbot in the chat.py
file. The API section below explains the chatbot functions you can use to interact with the user.
If you need a cheat sheet for Python syntax, you can use one of these:
The chatbot has two methods:
Sends message
(string) to the user as a chat message.
bot.send('Hi, how can I help you today?')
Sends prompt
(string) to the user, waits for input from the user, and returns their response (string).
message = bot.get('Say something to me: ')
print('I heard the user say:')
print(message)