mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 06:04:21 +01:00
Improved the reply given when a plugin with no commands is 'list'ed.
This commit is contained in:
parent
1dd6dc5b9e
commit
47a1912030
@ -132,8 +132,12 @@ class Misc(callbacks.Plugin):
|
||||
commands.sort()
|
||||
irc.reply(format('%L', commands))
|
||||
else:
|
||||
irc.error('That plugin exists, but it has no '
|
||||
'commands with help.')
|
||||
irc.reply(format('That plugin exists, but has no commands. '
|
||||
'This probably means that it has some '
|
||||
'configuration variables that can be '
|
||||
'changed in order to modify its behavior. '
|
||||
'Try "config list %s" to see what '
|
||||
'configuration variables it has.', cb.name()))
|
||||
list = wrap(list, [getopts({'private':''}), additional('plugin')])
|
||||
|
||||
def apropos(self, irc, msg, args, s):
|
||||
|
Loading…
Reference in New Issue
Block a user