Bug #382
The code quality is awful
10%
Description
I should make the `hack_of_all_hacks' file parse the IRC data and put it into variables at the start so that it doesn't have to do stuff like that constantly throughout. Actually it seems I've already partly done that but the variables aren't actually used throughout the whole file.
History
Updated by xylon almost 10 years ago
Also, the code that tells people they have messages when they log in is in a completely different place than everything else (not in the hack_of_all_hacks file). Maybe that whole block of elif, elif, elif in main.sh could all be put in the hack_of_all_hacks file.
Updated by xylon over 9 years ago
To be honest, I think I should recode it from scratch in python.
Updated by aurelien over 8 years ago
I have recently try this http://doc.supybot.aperio.fr/en/latest/use/install.html with y-bot.
This could be a good solution for pbot.
Updated by xylon almost 7 years ago
- % Done changed from 0 to 10
Today I have re-factored the main file: hack_of_all_hacks. This is a good start to fixing this bug.