{"action":"created","issue":{"url":"https://api.github.com/repos/destinygg/bot/issues/11","labels_url":"https://api.github.com/repos/destinygg/bot/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/destinygg/bot/issues/11/comments","events_url":"https://api.github.com/repos/destinygg/bot/issues/11/events","html_url":"https://github.com/destinygg/bot/pull/11","id":57388916,"number":11,"title":"Chatlogger + fuzzy string compare on messagereceive","user":{"login":"kasperhhk","id":4959424,"avatar_url":"https://avatars.githubusercontent.com/u/4959424?v=3","gravatar_id":"","url":"https://api.github.com/users/kasperhhk","html_url":"https://github.com/kasperhhk","followers_url":"https://api.github.com/users/kasperhhk/followers","following_url":"https://api.github.com/users/kasperhhk/following{/other_user}","gists_url":"https://api.github.com/users/kasperhhk/gists{/gist_id}","starred_url":"https://api.github.com/users/kasperhhk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasperhhk/subscriptions","organizations_url":"https://api.github.com/users/kasperhhk/orgs","repos_url":"https://api.github.com/users/kasperhhk/repos","events_url":"https://api.github.com/users/kasperhhk/events{/privacy}","received_events_url":"https://api.github.com/users/kasperhhk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-11T22:40:11Z","updated_at":"2015-02-11T23:01:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/destinygg/bot/pulls/11","html_url":"https://github.com/destinygg/bot/pull/11","diff_url":"https://github.com/destinygg/bot/pull/11.diff","patch_url":"https://github.com/destinygg/bot/pull/11.patch"},"body":"This is a first draft.\r\n\r\nName can be changed, but really it's 95% a chatlogger, that also has the strcomp function, which really should be put in another module. Not sure how that's gonna work though, since none of the modules have proper configuration of dependencies between each other.\r\n\r\nIncluded sqlite3 and mkdirp packages.\r\n\r\nDatabase name and path can be configured. Folders and database file are automatically created.\r\nlifetime sets how long a message can live for. Note that a message is only deleted from the table once it's user writes a new message.\r\n\r\nErrors are logged, except at intialization, where they are thrown (crashing the bot)."},"comment":{"url":"https://api.github.com/repos/destinygg/bot/issues/comments/73984100","html_url":"https://github.com/destinygg/bot/pull/11#issuecomment-73984100","issue_url":"https://api.github.com/repos/destinygg/bot/issues/11","id":73984100,"user":{"login":"sztanpet","id":58942,"avatar_url":"https://avatars.githubusercontent.com/u/58942?v=3","gravatar_id":"","url":"https://api.github.com/users/sztanpet","html_url":"https://github.com/sztanpet","followers_url":"https://api.github.com/users/sztanpet/followers","following_url":"https://api.github.com/users/sztanpet/following{/other_user}","gists_url":"https://api.github.com/users/sztanpet/gists{/gist_id}","starred_url":"https://api.github.com/users/sztanpet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sztanpet/subscriptions","organizations_url":"https://api.github.com/users/sztanpet/orgs","repos_url":"https://api.github.com/users/sztanpet/repos","events_url":"https://api.github.com/users/sztanpet/events{/privacy}","received_events_url":"https://api.github.com/users/sztanpet/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T23:01:43Z","updated_at":"2015-02-11T23:01:43Z","body":"looks fine apart from the \"strcomp\" function name, dont quite have a better one yet"}}