myano / jenni

jenni was a python IRC bot. Project is closed. Try Sopel instead, https://sopel.chat/
https://sopel.chat/
Other
235 stars 101 forks source link

Anti-Bot-Collision. #59

Open ghost opened 12 years ago

ghost commented 12 years ago

Lets say we have two jenni's in a channel.

Someone posts "http://www.google.com" in a channel. jenni1 will say " [ Google ] - http://www.google.com ".

jenni2 will catch what jenni1 said, and repeat it. This will lead to an infinite url linking loop.

I suggest making it so this only happens once or twice, then the other jenni is ignored.

bui commented 12 years ago

Maybe add a list in the config for a list of other bots to ignore?

myano commented 12 years ago

@bui there already exists a .blocks feature, however, what is being proposed (if I understand correctly) have jenni automatically detect the loop without intervention from the owner/operator of the bot.

ghost commented 12 years ago

Yes. Exactly, have jenni detect the loop and stop, without human intervention.

myano commented 12 years ago

Seems doable. Though I think whatever idea is presented, I'm sure if someone wanted to write a malicious bot they could somehow circumvent a said protection (even if it is only time based).

myano commented 11 years ago

What should be considered a loop? For example if jenni and at least one other bot got into a conversation with the chat module, and each response to each nick is different how would we know it is a loop?