This bot is really simple with a bunch of if/else logic. Each conversation thread is tied with a specific response. To address my lack of programming skills I had to fundamentally think about a product which has a simple structure but is also super simple for the user to engage and be interested in the conversation.
Following is a typical code bit from this project. I replicated this bit to map to different responses for a different time in the day.
if body == "Hello"
message = "Hi, I'm YaVi's bot. Nudge me with a time in the day and i'll tell you what he's upto"
media = "https://media.giphy.com/media/l46CjoMYO5n2hQnWE/giphy.gif"
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .