mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-27 06:19:25 +01:00
Update factset usage to reflect optional channel
This commit is contained in:
parent
2e249b079a
commit
73bc7cebe4
@ -296,7 +296,7 @@ sub factset {
|
||||
$args .= " $rest" if defined $rest;
|
||||
}
|
||||
|
||||
my ($channel, $trigger, $arguments) = $self->find_factoid_with_optional_channel($from, $args, 'factset', 'Usage: factset <channel> <factoid> [key [value]]');
|
||||
my ($channel, $trigger, $arguments) = $self->find_factoid_with_optional_channel($from, $args, 'factset', 'Usage: factset [channel] <factoid> [key [value]]');
|
||||
return $channel if not defined $trigger; # if $trigger is not defined, $channel is an error message
|
||||
|
||||
my ($key, $value) = split / /, $arguments, 2;
|
||||
|
Loading…
Reference in New Issue
Block a user