示例#1
0
文件: core.py 项目: NURDspace/jsonbot
def handle_loaded(bot, event):
    """ no arguments - show plugins in cache. """
    res = []
    for plug in plugs.keys(): res.append(plug.split(".")[-1])
    event.reply("loaded plugins (cache): ", res)
示例#2
0
文件: core.py 项目: Petraea/jsonbot
def handle_loaded(bot, event):
    """ no arguments - show plugins in cache. """
    res = []
    for plug in plugs.keys():
        res.append(plug.split(".")[-1])
    event.reply("loaded plugins (cache): ", res)
示例#3
0
def handle_loaded(bot, event):
    """ no arguments - show plugins in cache. """
    event.reply("loaded plugins (cache): ", plugs.keys())
示例#4
0
文件: core.py 项目: melmothx/jsonbot
def handle_loaded(bot, event):
    """ show plugins in cache. """
    event.reply("loaded plugins (cache): ", plugs.keys())