Exemple #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))
Exemple #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))