3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-27 05:02:34 +01: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.";
}
}
}