def cmd(send, _, args):
    """Returns a listing of the current channels.

    Syntax: {command}

    """
    with args['handler'].data_lock:
        channels = ", ".join(sorted(args['handler'].channels))
    send(channels)
Returns a listing of the current channels.

    Syntax: {command}