From 73bc7cebe4e26d141685036f93ac1db79a80a563 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sun, 27 Aug 2017 02:44:35 -0700 Subject: [PATCH] Update factset usage to reflect optional channel --- PBot/FactoidCommands.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/FactoidCommands.pm b/PBot/FactoidCommands.pm index c6f07d4d..b284c386 100644 --- a/PBot/FactoidCommands.pm +++ b/PBot/FactoidCommands.pm @@ -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 [key [value]]'); + my ($channel, $trigger, $arguments) = $self->find_factoid_with_optional_channel($from, $args, 'factset', 'Usage: factset [channel] [key [value]]'); return $channel if not defined $trigger; # if $trigger is not defined, $channel is an error message my ($key, $value) = split / /, $arguments, 2;