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))
def cmd(send, *_): """Lists loaded hooks Syntax: {command} """ hooklist = ", ".join([str(x) for x in get_known_hooks()]) send("Loaded hooks: %s" % (hooklist))