LukeSkywalker92/TeleFrame

config.example.json not copied using installer script

thoschneider opened this issue · 1 comments

The readme-file states under configuration:
"Copy TeleFrame/config/config.example.json to TeleFrame/config/config.json. \ Note: If you used the installer script. This step is already done for you."
The Note is not true! The installer script creates only the file config.json with one line which contains the token:

# Create config for start TeleFrame containing the token
echo -e "{\n "botToken": "$token"\n}" > config/config.json

Please remove the note in readme-file and add additional information, that the token must be inserted as value for "botToken". Most convenient would be of course, to alter the installer script in such a way that config.example.json gets copied to config.json and the token is inserted automatically as the token is prompted and stored during installation anyway. Unfortunately I don't feel competent to commit a solution.

closed by #150