PhantomBot Version: stable
OS Version: Windows 7
Java Version: latest 64bit
Browser and Version (for Panel Support): Chrome latest
Stock PhantomBot: Yes
Let us know what help you need:
I’m trying to add a command to read the .txt generated by the AIMP Plugin ‘Current Track Info Into File’. This plugin generates a text-file with information about the music I’m playing in AIMP.
I added the following command: !addcom !song (readfile ./addons/CurrentTrackInfo.txt)
Sadly this doesn’t work, the response is always “undefined”, even when there’s something in the text-file.