示例#1
0
def do_list_plugin(text):
    if re.match(cmd_list_plugin, text):
        return "All: %s, Active: %s" % (
            str(list_handlers()), str(list_active_handlers())
        )
示例#2
0
def do_list_plugin(text):
    if re.match(cmd_list_plugin, text):
        return "All: %s\n\nActive: %s" % (str(
            list_handlers()), str(list_active_handlers()))
示例#3
0
def do_list_plugin(text):
    if re.match(cmd_list_plugin, text):
        text = "All: %s\n\nActive: %s" % (", ".join(list(
            list_handlers())), ", ".join(list(list_active_handlers())))
        return text