Share your repls and programming experiences

← Back to all posts
Buddy
PYer (3232)

This is something I have been periodically working on for a long time. If I get upvotes I will add a cmds.txt with all recognizable input, and make it better. Thanks!

Commentshotnewtop
lydiahallie (32)

Nice work!! :) I like the lag animation too while the bot is typing!

One thing though, it threw a type error unfortunately! :( TypeError: 'datetime.datetime' object is not iterable.

gantr833 (160)

@lydiahallie I had the same error when I asked for the time.

gantr833 (160)

@PYer Great updates. When I asked: time, there was a different error. I think you need to convert the integers into strings before you include them in Buddy's reply. Error Message said:
Must be a str, not Int (Line 451.)

Also there is an error on line 762.

PYer (3232)

@gantr833 Ah. Let me try to fix it

PYer (3232)

@gantr833 Fixed it! Thanks for alerting me about the error.

[deleted]

THIS IS AMAZING

themaka (181)

Looks like you're got a lot here, but it's hard, as a user, to see what is possible. It's hard to play with without that list of commands.
Looks good though! I liked the slowed down print speed -- it helped make it feel like a real conversation.

PYer (3232)

@themaka it is kind of hard to think of things to make it be able to respond to. if you can give me a list of things you want it to be able to respond to, i could add them.

themaka (181)

@PYer I meant that you could use an "options" command so people could see how standard commands are allowed. You seem to have a lot already, but it would just take me brute-force guessing to find them (without reading the code).

RifqiAlgamar (1)

man, you should add some new joke, it gets randomly repetitive. anw buddy is good boi

Goldrank (34)

this is amazing... hope it wins!

GARFIELD1 (3)

The Bagels game doesn't work if you accidentally add more digits. Also, how does the password work?

PYer (3232)

What password? I'm not working on the project anymore, and the game was in development when I stopped. Thanks for pointing it out though. @GARFIELD1

GARFIELD1 (3)

If you go in staff.txt it says to enter the code "JC234FD". When entered after you've been asked for your username, it gives you a password. For me, the password was "BATTERY_HORSE_STAPLE.344". What does that mean and what does it [email protected]

PYer (3232)

oh. that is for an old feature of volunteering to work on the bot. If used the other code listed in staff.txt, you could add possible input if you had the password. It isn't very secure, as it is listed in the private folder. @GARFIELD1

GARFIELD1 (3)

How come it says it's creator is fullern000 if [email protected]

PYer (3232)

oh, i forgot to change the response after I had my username changed. thanks for pointing it out @GARFIELD1