LearnProgramming/LPMCBot — pull request #29 by ecnahc515 (2012-07-24 02:03:44+00:00)
Title: Refactored parsemsg to use functions for each command

The new parsemsg now checks if the command exists in the dictionary 'BOT_COMMANDS' as a key, and then if it does, it will call the function for that key. I've also created a bot_commands.py file which is where all bot commands can now be defined as function.