Skip to content

[Bug] readFile context for first line reads as last line #2574

@arblane

Description

@arblane

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

In a chat effect (there may be other places) click $vars, search readFile, expand other examples. Note that $readFile[path\to\file.txt, first] has an explanation of 'Read the last line from the file.'

image

Expected Behavior

The explanation should read 'Read the first line from the file.'

Steps To Reproduce

See current behavior.

Version

5.62.1

What operating system are you using Firebot on?

Windows 11

Relevant log output

No response

Contact Details (Optional)

arblane

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions