mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Aka: update list command
This commit is contained in:
parent
26df32086d
commit
a1a7864f54
@ -711,7 +711,7 @@ class Aka(callbacks.Plugin):
|
||||
importaliasdatabase = wrap(importaliasdatabase, ['owner'])
|
||||
|
||||
def list(self, irc, msg, args, optlist):
|
||||
"""[--channel] <#channel>
|
||||
"""[--channel <#channel>]
|
||||
|
||||
Lists all Akas defined for <channel>. If <channel> is not specified,
|
||||
lists all global Akas."""
|
||||
@ -730,7 +730,7 @@ class Aka(callbacks.Plugin):
|
||||
irc.replies(s)
|
||||
else:
|
||||
irc.error(_("No Akas found."))
|
||||
list = wrap(list, [getopts({'channel': 'somethingWithoutSpaces'})])
|
||||
list = wrap(list, [getopts({'channel': 'channel'})])
|
||||
|
||||
|
||||
Class = Aka
|
||||
|
Loading…
Reference in New Issue
Block a user