Aometry icon indicating copy to clipboard operation
Aometry copied to clipboard

Repository System for Modules

Open finneh4249 opened this issue 4 years ago • 0 comments

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:

  1. Specifying the GitHub repo to download module from
  2. 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?
  3. Download the folder inside the repo
  4. Include the downloaded folder inside src/modules
  5. 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

finneh4249 avatar Oct 18 '21 06:10 finneh4249