Project

General

Profile

Bug #382

The code quality is awful

xylon - almost 7 years ago - . Updated over 3 years ago.

Status:
open
Priority:
bug
Assignee:
-
% Done:

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

#2

Updated by xylon almost 7 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.

#3

Updated by xylon over 6 years ago

To be honest, I think I should recode it from scratch in python.

#4

Updated by aurelien over 5 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.

#5

Updated by xylon almost 4 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.

#6

Updated by xylon over 3 years ago

testing labs change detector

#7

Updated by xylon over 3 years ago

test

#8

Updated by xylon over 3 years ago

another test

Also available in: Atom PDF