{"action":"created","issue":{"url":"https://api.github.com/repos/eugenzyx/pbc-bot/issues/11","repository_url":"https://api.github.com/repos/eugenzyx/pbc-bot","labels_url":"https://api.github.com/repos/eugenzyx/pbc-bot/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/eugenzyx/pbc-bot/issues/11/comments","events_url":"https://api.github.com/repos/eugenzyx/pbc-bot/issues/11/events","html_url":"https://github.com/eugenzyx/pbc-bot/issues/11","id":141635806,"number":11,"title":"Commands autodiscover","user":{"login":"aluminiumgeek","id":840753,"avatar_url":"https://avatars.githubusercontent.com/u/840753?v=3","gravatar_id":"","url":"https://api.github.com/users/aluminiumgeek","html_url":"https://github.com/aluminiumgeek","followers_url":"https://api.github.com/users/aluminiumgeek/followers","following_url":"https://api.github.com/users/aluminiumgeek/following{/other_user}","gists_url":"https://api.github.com/users/aluminiumgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/aluminiumgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aluminiumgeek/subscriptions","organizations_url":"https://api.github.com/users/aluminiumgeek/orgs","repos_url":"https://api.github.com/users/aluminiumgeek/repos","events_url":"https://api.github.com/users/aluminiumgeek/events{/privacy}","received_events_url":"https://api.github.com/users/aluminiumgeek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-17T16:31:39Z","updated_at":"2016-03-17T21:17:39Z","closed_at":null,"body":"I'm not happy with current implementation that forces you to change core bot files in 2 different places to get command work. Also command definition lines in `InteractiveMode.scala` and `Bot.scala` are almost copypaste. \r\n\r\nWe need an autodiscover mechanism that will automatically detect all modules in `commands` directory."},"comment":{"url":"https://api.github.com/repos/eugenzyx/pbc-bot/issues/comments/198085896","html_url":"https://github.com/eugenzyx/pbc-bot/issues/11#issuecomment-198085896","issue_url":"https://api.github.com/repos/eugenzyx/pbc-bot/issues/11","id":198085896,"user":{"login":"eugenzyx","id":2123664,"avatar_url":"https://avatars.githubusercontent.com/u/2123664?v=3","gravatar_id":"","url":"https://api.github.com/users/eugenzyx","html_url":"https://github.com/eugenzyx","followers_url":"https://api.github.com/users/eugenzyx/followers","following_url":"https://api.github.com/users/eugenzyx/following{/other_user}","gists_url":"https://api.github.com/users/eugenzyx/gists{/gist_id}","starred_url":"https://api.github.com/users/eugenzyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugenzyx/subscriptions","organizations_url":"https://api.github.com/users/eugenzyx/orgs","repos_url":"https://api.github.com/users/eugenzyx/repos","events_url":"https://api.github.com/users/eugenzyx/events{/privacy}","received_events_url":"https://api.github.com/users/eugenzyx/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T21:17:39Z","updated_at":"2016-03-17T21:17:39Z","body":"I think it even worth removing that Interactive mode at all. For me it was helpful once, but now I see no reason in keeping it. Opinions? +1 for automatic commands discovery though."}}