Closed nado closed 8 years ago
Seems like a tricky one actually. There will be the need to check for admin rights, querying the server directly for the nickname who is performing the request. This can't be achieved with a plugin (plugins don't expect responses) More like something in the core.
Alright, I haven’t thought a lot about this yet, this issue was more like a reminder to me, but you are right.
https://github.com/nado/go-b0tsec/commit/2715a865c3f3832e7e42565c9288d4f2e4f9a791 is a first step towards dynamic plugins (de)activation
Very nice :)
https://github.com/nado/go-b0tsec/commit/2a74fb537f2bcfe08f0655420d7497b53aae2d7c plugins are fully managed with this commit.
Plugin to enable/disable plugins while the bot is running like
!plugins +yt -ddg +title