!help command should work different

Bug #647260 reported by Ddorda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hoborg IRC Bot
Fix Committed
Medium
Unassigned

Bug Description

Right now the !help command reads text from a var. IMHO it shpould work in a way that the list of !help will be built by the modules of the bot itself, so each module will be able to add data to the !help command, and it will be dynamically changed by modules used.

Revision history for this message
Liel Fridman (lielft-deactivatedaccount) wrote :

The command reads the help text from files, not from a variable.

Revision history for this message
Ddorda (ddorda) wrote : Re: [Bug 647260] Re: !help command should work different

that every module has it own one?

2010/9/25 Liel Fridman <email address hidden>

> The command reads the help text from files, not from a variable.
>
> --
> !help command should work different
> https://bugs.launchpad.net/bugs/647260
> You received this bug notification because you are a member of Hoborg
> Developers, which is the registrant for Hoborg IRC Bot.
>
> Status in Hoborg IRC Python Bot: New
>
> Bug description:
> Right now the !help command reads text from a var. IMHO it shpould work in
> a way that the list of !help will be built by the modules of the bot itself,
> so each module will be able to add data to the !help command, and it will be
> dynamically changed by modules used.
>
>
>

Revision history for this message
Liel Fridman (lielft-deactivatedaccount) wrote :

No, it has a main.txt file for the !help command without parameters and a <command>.txt file for commands help.

Revision history for this message
Ddorda (ddorda) wrote :

exactly. what i'm saying is that each module should have it's own file for
help and that Hoborg will know to merge these all to !help.

for ex. what can be happen is that each module will have a text file that
has ".help" extension (ex. quit.help, help.help, logoff.help etc.) and in
each of these files the "!help <command>" text will be entered.
Hoborg will list the commands by indexing the .help files and will get the
text for a specific help command from inside each one.

what do you think?

Changed in hoborg:
importance: Undecided → Medium
assignee: nobody → Liel Fridman (lielft)
Changed in hoborg:
status: New → Fix Committed
assignee: Liel Fridman (lielft) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.