mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Misc: Show a basic help when @help is called without an argument and customHelpString isn't set.
This commit is contained in:
parent
0d89b2352b
commit
428f5ca5dc
@ -292,7 +292,11 @@ class Misc(callbacks.Plugin):
|
||||
if cHelp:
|
||||
irc.reply(cHelp)
|
||||
else:
|
||||
irc.error()
|
||||
irc.reply(_(
|
||||
"Use the 'list' command to list all plugins, and "
|
||||
"'list <plugin>' to list all commands in a plugin. "
|
||||
"To show the help of a command, use 'help <command>'. "
|
||||
))
|
||||
return
|
||||
command = list(map(callbacks.canonicalName, command))
|
||||
(maxL, cbs) = irc.findCallbacksForArgs(command)
|
||||
|
Loading…
Reference in New Issue
Block a user