Closed hashworks closed 9 years ago
I will not protest if you wont to change the current plugins away from interfaces to class extentions, i already merged one of your PR that caused plugin to break, so a little more wont hurt while we are at it ;)
Alright then, I'll make a pull request in the course of the day :)
I'm opening this issue because of the problem in #24.
Why use an implemented interface instead of an extended class? The latter wouldn't break plugins on new features / small changes. Even if it would one could implement fallbacks. Also I see problems with the init and destroy methods - why not use construct and destruct? For example the upgradePlugins restarts the bot, but is in no way able to call the destroy methods of the bot, resulting in loss of data.
As far as Google knows there is a maximum of 5 third party plugins out there, not counting mine. I think a change resulting in breaking the external plugins once would be acceptable.