The client
Created by: xLink
Okay so the Client will be very simple. Should be able to respond to a JSON(?) object passed back from the plugins, this will give the client instructions as to what to do.
Inital Rules:
- Plugins can be either API Urls, or CLI runnable.
- Arguments to the command the plugin is registered to, will be passed to the:
- API as post variables
- CLI as arguments
- the command will respond with a standard JSON object which the bot can interpret and act upon
- anything other than a 200 response from a web call should be discarded
- the bot should ignore any non-standard response