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