Move this abstract bot logic out of the generic IRC parser.
A slightly smarter way to architect plugin matching logic.