projects/dswpbot/old_structure.txt · Last modified: 2010/08/05 17:59 by Unclefragger

DSWPBot's old structure

FIXME - This is just the beginning, run through the dswpbot code and check for parts where you think that they do not belong where they are or make use of strange things.

DSWPBot's old structure

I thought about enhancing our IRC-Bot a bit, but after digging into the code for a few minutes I found that it'd be best to leave candies for later and make the bot straight

Places where core-functions reside

msg handling

The core parts are within dswpbot.py that's fine, this is were I plan to plant the reply() method.

command handling

Is within plugins/Commands.py and the first place where ! and @ are interpreted.

Unclefragger: should be changed in my POV, move it to the core parts in dswpbot.py and re-write it