mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Plugin: Remove duplicate !list command
It also exists in Misc.
This commit is contained in:
parent
77e6de6bba
commit
1a7e584a53
@ -57,17 +57,6 @@ class Plugin(callbacks.Plugin):
|
|||||||
irc.reply(_('That plugin is loaded, but has no plugin help.'))
|
irc.reply(_('That plugin is loaded, but has no plugin help.'))
|
||||||
help = wrap(help, ['plugin'])
|
help = wrap(help, ['plugin'])
|
||||||
|
|
||||||
@internationalizeDocstring
|
|
||||||
def list(self, irc, msg, args):
|
|
||||||
"""takes no arguments
|
|
||||||
|
|
||||||
Returns a list of the currently loaded plugins.
|
|
||||||
"""
|
|
||||||
L = [cb.name() for cb in irc.callbacks]
|
|
||||||
L.sort()
|
|
||||||
irc.reply(format('%L', L))
|
|
||||||
list = wrap(list)
|
|
||||||
|
|
||||||
@internationalizeDocstring
|
@internationalizeDocstring
|
||||||
def plugin(self, irc, msg, args, command):
|
def plugin(self, irc, msg, args, command):
|
||||||
"""<command>
|
"""<command>
|
||||||
|
Loading…
Reference in New Issue
Block a user