Changeset 196 for server/trunk/web/lib/Sophie/Controller/Chat
- Timestamp:
- 12/27/10 02:41:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/trunk/web/lib/Sophie/Controller/Chat/Cmd.pm
r189 r196 46 46 my $id = $c->forward('/chat/paste', [ 'Bot paste', join("\n", @backup) ]); 47 47 if ($id) { 48 push(@{ $message->{message} }, 'All results avail lable here: ' . $c->uri_for('/chat', $id));48 push(@{ $message->{message} }, 'All results available here: ' . $c->uri_for('/chat', $id)); 49 49 } 50 50 } … … 125 125 =head2 help [cmd] 126 126 127 Return help about command cmd or list avail lable command.127 Return help about command cmd or list available command. 128 128 129 129 =cut … … 133 133 if ($cmd) { 134 134 my @message = grep { /\S+/ } split(/\n/, 135 $c->model('Help::POD')->bot_help_text($cmd) || 'No help avail lable');135 $c->model('Help::POD')->bot_help_text($cmd) || 'No help available'); 136 136 return $c->{stash}->{xmlrpc} = { 137 137 private_reply => 1, … … 142 142 private_reply => 1, 143 143 message => [ 144 'avail lable command:',144 'available command:', 145 145 join(', ', sort grep { $_ !~ /^end$/ } @{ $self->_commands }), 146 146 ],
Note: See TracChangeset
for help on using the changeset viewer.