{"action":"created","issue":{"url":"https://api.github.com/repos/HubbeKing/Hubbot_Twisted/issues/15","labels_url":"https://api.github.com/repos/HubbeKing/Hubbot_Twisted/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/HubbeKing/Hubbot_Twisted/issues/15/comments","events_url":"https://api.github.com/repos/HubbeKing/Hubbot_Twisted/issues/15/events","html_url":"https://github.com/HubbeKing/Hubbot_Twisted/issues/15","id":53725050,"number":15,"title":"Module API is horribly broken by multiserver attempts.","user":{"login":"HubbeKing","id":1328601,"avatar_url":"https://avatars.githubusercontent.com/u/1328601?v=3","gravatar_id":"","url":"https://api.github.com/users/HubbeKing","html_url":"https://github.com/HubbeKing","followers_url":"https://api.github.com/users/HubbeKing/followers","following_url":"https://api.github.com/users/HubbeKing/following{/other_user}","gists_url":"https://api.github.com/users/HubbeKing/gists{/gist_id}","starred_url":"https://api.github.com/users/HubbeKing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubbeKing/subscriptions","organizations_url":"https://api.github.com/users/HubbeKing/orgs","repos_url":"https://api.github.com/users/HubbeKing/repos","events_url":"https://api.github.com/users/HubbeKing/events{/privacy}","received_events_url":"https://api.github.com/users/HubbeKing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-08T08:14:16Z","updated_at":"2015-01-08T11:16:29Z","closed_at":null,"body":"Current Module API is simplistic and relies on everything being single-server (despite looking slightly multiserver in places)\r\n\r\nTODO:\r\n\r\n- Current load and unload would be changed to only happen on startup and shutdown\r\n- New \"enable\" and \"disable\" methods for per-server plugin usage (register and delete from modules dict in ModuleHandler? How keep track of disabled modules?)\r\n\r\n- Reload methods reworked to find usages of module and replace them, so that references are kept intact. (plugins will probably have to be disabled while reloading, to prevent the bot from using them mid-reload)\r\n"},"comment":{"url":"https://api.github.com/repos/HubbeKing/Hubbot_Twisted/issues/comments/69166399","html_url":"https://github.com/HubbeKing/Hubbot_Twisted/issues/15#issuecomment-69166399","issue_url":"https://api.github.com/repos/HubbeKing/Hubbot_Twisted/issues/15","id":69166399,"user":{"login":"HubbeKing","id":1328601,"avatar_url":"https://avatars.githubusercontent.com/u/1328601?v=3","gravatar_id":"","url":"https://api.github.com/users/HubbeKing","html_url":"https://github.com/HubbeKing","followers_url":"https://api.github.com/users/HubbeKing/followers","following_url":"https://api.github.com/users/HubbeKing/following{/other_user}","gists_url":"https://api.github.com/users/HubbeKing/gists{/gist_id}","starred_url":"https://api.github.com/users/HubbeKing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubbeKing/subscriptions","organizations_url":"https://api.github.com/users/HubbeKing/orgs","repos_url":"https://api.github.com/users/HubbeKing/repos","events_url":"https://api.github.com/users/HubbeKing/events{/privacy}","received_events_url":"https://api.github.com/users/HubbeKing/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T11:16:29Z","updated_at":"2015-01-08T11:16:29Z","body":"Current Thinking: Move the current LoadModule and UnloadModule to BotHandler.\r\n\r\nModuleHandler's LoadModule and UnloadModule would simply work on dicts, looking at BotHandler to find what's actually loaded and making instances of the modules."}}