3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 01:48:38 +02:00

Plugins/RestrictedMod: tidy usage message

This commit is contained in:
Pragmatic Software 2020-01-31 18:45:34 -08:00
parent 0dd8b1587e
commit 00256f2077

View File

@ -149,9 +149,9 @@ sub modcmd {
} else {
my $commands = join ', ', sort keys %{$self->{commands}};
if ($from !~ m/^#/) {
return "Usage: mod <channel> <command> <arguments>; commands are: $commands; see mod <help> <command> for more information";
return "Usage: mod <channel> <command> [arguments]; commands are: $commands; see `mod help <command>` for more information.";
} else {
return "Usage: mod <command> <arguments>; commands are: $commands; see mod <help> <command> for more information";
return "Usage: mod <command> [arguments]; commands are: $commands; see `mod help <command>` for more information.";
}
}
}