pyladies/l33ty — pull request #1 by asia-bi (2011-11-19 19:04:55+00:00)
Title: https://github.com/asia-bi/l33ty

These are commits made during polish PyLadies Python Sprint Session. I've refactored the privmsg method (pulling out smaller methods in the spirit of Clean Code), extracted some attributes to module constants, simplified the complex logic of choosing the 'command function' and handled 'funny cases' the same way as regular commands.