UserSim icon indicating copy to clipboard operation
UserSim copied to clipboard

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

Open msr8 opened this issue 3 years ago • 2 comments

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

msr8 avatar Jul 12 '22 10:07 msr8

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.

REK166 avatar Aug 04 '22 17:08 REK166

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: @.***>

trambelus avatar Nov 22 '22 19:11 trambelus