dennis / slipstream

ISC License
5 stars 0 forks source link

Add configuration options to register_plugin() #43

Closed dennis closed 3 years ago

dennis commented 3 years ago

Currently, you can register plugins, but they need to know themselves how to get their configuration or you need to provide it later. E.g.: TwitchPlugin knows how to get the settings from the UI and there is currently now way to launch another twitch configuration as that too will use the same settings.

I am thinking it would be more flexible to have a argument to register_plugin, which would be a Lua table with key/values that configures the plugin.