Firebot
Firebot copied to clipboard
[Bug] readFile context for first line reads as last line
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.'
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