Esempio n. 1
0
def cmd(send, msg, args):
    """Lists loaded hooks
    Syntax: !hooks
    """
    hooklist = ', '.join([str(x) for x in get_known_hooks()])
    send('Loaded hooks: %s' % (hooklist))
Esempio n. 2
0
def cmd(send, *_):
    """Lists loaded hooks
    Syntax: {command}
    """
    hooklist = ", ".join([str(x) for x in get_known_hooks()])
    send("Loaded hooks: %s" % (hooklist))