Allio is a bot that CAN do anything, it just needs your help! Instead of creating a separate bot for every micro task, all of your bot commands can live inside Allio. Simply create your bot logic in the form of a node.js module and insert it into Allio's exisiting directory of commands.
- Install Node.js
- Clone the repo and cd into the app directory
- Run
npm install
to install the app's dependencies - Run
npm start
to start the app - Access the running app in a browser at http://localhost:6001
- Create a <COMMAND_NAME>.js file in the commands directory.
- In your new file, export a function called "run" which takes in a string and a callback function.
- Look at existing commands for guidance.
- Add your command name and path to
allioConfig.json
- Submit a PR.