I had to resort to using Termux since the developer of Servers Ultimate Pro has not been updating the Node.js package for a long time and the new ES6 features are breaking my scripts. After browsing instructions, I've got latest Node.js installed through apt-get and I can run my script.
However, I have to type:
$node storage/shared/folder_in_internal_android_memory/app.js
If possible could I make a bash script called "bot.sh" with:
#!bin/bash
node storage/shared/folder_in_internal_android_memory/app.js
Then run with:
$bot
I can cp an already created script but I don't know where to place it to allow me to shortcut it.