Share your repls and programming experiences

← Back to all posts
Python Chatbot Program
h
replitcode (112)

A fully-functional chatbot program written in python! It has over 300 phrases for the user to say and the chatbot to reply! I hope you enjoy this program as much as i did making it for you!

Best,
replitcode

P.S. If you want more phrases for me to add just email me at [email protected]

Thanks!

The repl can be found at the following URL...
https://repl.it/@replitcode/PyBot-v1

Commentshotnewtop
MJLinane (0)

Looks like there is a syntax error. Otherwise nice job!

replitcode (112)

@mjlinane: i will fix it! I'm sorry for it though... thanks for telling me! And thanks for the compliment!

haya (7)

I'm having a syntax error 😞

replitcode (112)

@haya: it's fixed now... sorry about that! :)

amasad (2521)

Nice! At first it didn't understand what I was saying. I think it's confused by question marks. Otherwise it's really nice and thorough.

replitcode (112)

@user23802991: thanks amasad! BTW it's lukas!

replitcode (112)

@happyfakeboulde: Those are so COOL! Although you should consider adding more stuff to say TO the chatbot and more stuff for the chatbot to say to YOU! Though still AWESOME! Keep coding!

Best,
Replitcode

TerrorbuildLuna (20)

@replitcode did you just do what I think you just did?

replitcode (112)

@TerrorbuildLuna what do you think i did? this project is basically over lol

TerrorbuildLuna (20)

@replitcode yh I know, it doesn't work anymore

replitcode (112)

@TerrorbuildLuna i took out a ton of stuff to make it as OG as possible so that it works again :)
here's the link: https://repl.it/@replitcode/PyBot

HappyFakeboulde (223)

You should add a way to save things users say to text files that you can read, so you know what things to add responses to.

replitcode (112)

@happyfakeboulde: can you give me an example of how that would be done please!

HappyFakeboulde (223)

@replitcode: Look through the code in ChatBot A (that I made), you can copy parts of it if you give me credit.

replitcode (112)

@happyfakeboulde: i dont understand it sorry please explain

replitcode (112)

it won't append to the file i made for it...

HappyFakeboulde (223)

@replitcode: What do you mean? Looks like it's working to me.