{"action":"created","issue":{"url":"https://api.github.com/repos/abdulhannanali/loklak-telegram-chat-bot/issues/27","labels_url":"https://api.github.com/repos/abdulhannanali/loklak-telegram-chat-bot/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/abdulhannanali/loklak-telegram-chat-bot/issues/27/comments","events_url":"https://api.github.com/repos/abdulhannanali/loklak-telegram-chat-bot/issues/27/events","html_url":"https://github.com/abdulhannanali/loklak-telegram-chat-bot/issues/27","id":123886295,"number":27,"title":"rewriting the integration logic into seperate files","user":{"login":"abdulhannanali","id":8170969,"avatar_url":"https://avatars.githubusercontent.com/u/8170969?v=3","gravatar_id":"","url":"https://api.github.com/users/abdulhannanali","html_url":"https://github.com/abdulhannanali","followers_url":"https://api.github.com/users/abdulhannanali/followers","following_url":"https://api.github.com/users/abdulhannanali/following{/other_user}","gists_url":"https://api.github.com/users/abdulhannanali/gists{/gist_id}","starred_url":"https://api.github.com/users/abdulhannanali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abdulhannanali/subscriptions","organizations_url":"https://api.github.com/users/abdulhannanali/orgs","repos_url":"https://api.github.com/users/abdulhannanali/repos","events_url":"https://api.github.com/users/abdulhannanali/events{/privacy}","received_events_url":"https://api.github.com/users/abdulhannanali/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/abdulhannanali/loklak-telegram-chat-bot/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/abdulhannanali/loklak-telegram-chat-bot/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/abdulhannanali/loklak-telegram-chat-bot/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":{"login":"abdulhannanali","id":8170969,"avatar_url":"https://avatars.githubusercontent.com/u/8170969?v=3","gravatar_id":"","url":"https://api.github.com/users/abdulhannanali","html_url":"https://github.com/abdulhannanali","followers_url":"https://api.github.com/users/abdulhannanali/followers","following_url":"https://api.github.com/users/abdulhannanali/following{/other_user}","gists_url":"https://api.github.com/users/abdulhannanali/gists{/gist_id}","starred_url":"https://api.github.com/users/abdulhannanali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abdulhannanali/subscriptions","organizations_url":"https://api.github.com/users/abdulhannanali/orgs","repos_url":"https://api.github.com/users/abdulhannanali/repos","events_url":"https://api.github.com/users/abdulhannanali/events{/privacy}","received_events_url":"https://api.github.com/users/abdulhannanali/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-12-25T15:22:34Z","updated_at":"2015-12-27T09:09:36Z","closed_at":"2015-12-27T09:09:36Z","body":"every time I get a new challenge I have to rethink my code and it's good in a way that I get to make my code even maturer. referring to the issue #26 if we want to implement the 2 step process we'll have to re implement the logic of search and user in functions. other wise the code will be not maintainable which negates the purpose of open source. The past 3 hours I have been just trying to update my code but it's going to be a little difficult but the product pays off for it :+1:  \r\nso the user logic will go into files like\r\nlib/loklakUser.js\r\nand search will be in\r\nlib/loklakSearch.js\r\nIt's for the first time in my life that I am managing a 1000+ lines code base\r\n\r\nI am working on a new branch for this purpose. \r\ncalled loklakModules . "},"comment":{"url":"https://api.github.com/repos/abdulhannanali/loklak-telegram-chat-bot/issues/comments/167396086","html_url":"https://github.com/abdulhannanali/loklak-telegram-chat-bot/issues/27#issuecomment-167396086","issue_url":"https://api.github.com/repos/abdulhannanali/loklak-telegram-chat-bot/issues/27","id":167396086,"user":{"login":"abdulhannanali","id":8170969,"avatar_url":"https://avatars.githubusercontent.com/u/8170969?v=3","gravatar_id":"","url":"https://api.github.com/users/abdulhannanali","html_url":"https://github.com/abdulhannanali","followers_url":"https://api.github.com/users/abdulhannanali/followers","following_url":"https://api.github.com/users/abdulhannanali/following{/other_user}","gists_url":"https://api.github.com/users/abdulhannanali/gists{/gist_id}","starred_url":"https://api.github.com/users/abdulhannanali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abdulhannanali/subscriptions","organizations_url":"https://api.github.com/users/abdulhannanali/orgs","repos_url":"https://api.github.com/users/abdulhannanali/repos","events_url":"https://api.github.com/users/abdulhannanali/events{/privacy}","received_events_url":"https://api.github.com/users/abdulhannanali/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T09:09:36Z","updated_at":"2015-12-27T09:09:36Z","body":"@sudheesh001 thanks! as FOSSASIA is all about open source and documenting everything is a big part of open source in order to maintain transparency. I am just trying to do that :)"}}