예제 #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))
예제 #2
0
파일: hooks.py 프로젝트: Polarcraft/KbveBot
def cmd(send, *_):
    """Lists loaded hooks
    Syntax: {command}
    """
    hooklist = ", ".join([str(x) for x in get_known_hooks()])
    send("Loaded hooks: %s" % (hooklist))