Firebot icon indicating copy to clipboard operation
Firebot copied to clipboard

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

Open arblane opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] 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

arblane avatar Jun 08 '24 13:06 arblane