mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-29 23:39:24 +01:00
Plugins/RestrictedMod: tidy usage message
This commit is contained in:
parent
0dd8b1587e
commit
00256f2077
@ -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.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user