command commands => {
help => q(commands <command> | Gives help about all available commands or lists all commands available in the current channel),
+ type => 'help',
}, class extends NDIRC::Command {
method execute ($c,$command) {
unless($command){
}
$c->reply(join ', ', @commands);
}elsif (exists $c->disp->commands->{$command}){
- for (@{$c->disp->commands->{$command}->help}){
- $c->reply($_);
- }
+ $c->reply($c->disp->commands->{$command}->help);
}
}
};