UWCS / choob

Compsoc's Highly Over-engineered Object-oriented Bot
http://choob.uwcs.co.uk/
GNU Lesser General Public License v2.1
17 stars 6 forks source link

Ignore people who are +B. #16

Closed FauxFaux closed 13 years ago

FauxFaux commented 13 years ago

Completely disregard all input from anyone on the /msg statserv botlist list.

FauxFaux commented 13 years ago

Author: bucko Probably stick this into an Ignore plugin, which gets callAPI'd in ChoobDecoderTask.

FauxFaux commented 13 years ago

Author: sadiq Given ignoring other bots is probably necessary, it might be better to embed it into the bot. Atleast we're then sure it's there.

FauxFaux commented 13 years ago

Author: bucko Catching messages inside the bot is very difficult, or at least not very clean. I think a plugin is definately better.

It can be made a core plugin, after all. The thing is, it needs to be involved with commands and suchlike - there might be a case for unignoring a bot, ignoring a person, or a server that has a broken botlist.

FauxFaux commented 13 years ago

Author: silver I've added the UserTypeCheck plugin (changeset [464]) and made it core (changeset [466]). ChoobDecoderTask prods it as necessary. It's not a general ignore thing, but it makes the bot ignore +B users - if an Ignore plugin is wanted, it could simply be placed between ChoobDecoderTask and UserTypeCheck anyway.

FauxFaux commented 13 years ago

Author: faux /me thinks that counts as a fix.

FauxFaux commented 13 years ago

Ticket imported from Trac: http://trac.uwcs.co.uk/choob/ticket/16