trambelus / UserSim

Here's what you sound like...
132 stars 11 forks source link

[QUESTION] What does "User %s is attempting recursion" mean? #12

Open msr8 opened 2 years ago

msr8 commented 2 years ago

So I was going through the source code, and saw these lines, but I dont get what they do or what the "recursion" feature is

REK166 commented 2 years ago

It's supposed to stop the bot from answering to itself, because people might try to get the bot to say something that will be registered as A prompt to the bot, creating an infinite loop and DOSing the bot.

trambelus commented 1 year ago

True, and to add to that, the bot was already designed in a way that wouldn't allow it to respond to itself and create loops like that. I just noticed certain people trying it, so I wrote in that response as a sort of easter egg. :)

On Thu, Aug 4, 2022 at 1:05 PM REK166 @.***> wrote:

It's supposed to stop the bot from answering to itself, because people might try to get the bot to say something that will be registered as A prompt to the bot, creating an infinite loop and DOSing the bot.

— Reply to this email directly, view it on GitHub https://github.com/trambelus/UserSim/issues/12#issuecomment-1205533165, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHHWOMGKD2WXUO45E2CKKTVXPZ67ANCNFSM53KQB6MQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>