Aometry
Aometry copied to clipboard
Repository System for Modules
Repositories are a great way to involve outside creators, and 3rd party features for the Aometry system.
My goals are:
- [ ] Download Modules from GitHub repo into bot /src/
- [ ] Commands from Modules are read by the bot
- [ ] Invalid commands are removed by the command handler
How this needs to be achieved is by:
- Specifying the GitHub repo to download module from
- Each folder in the repo is thought of as a module a) Some sort of validation needs to take place, maybe a config.json or modules.json file that specifies each individual module and it's location in the repo?
- Download the folder inside the repo
- Include the downloaded folder inside src/modules
- No nested folders (src/modules/
/ a) Or i could make a change to the command handler that can handle a folder inside a module folder