{"action":"created","issue":{"url":"https://api.github.com/repos/kiwiirc/kiwiirc/issues/705","repository_url":"https://api.github.com/repos/kiwiirc/kiwiirc","labels_url":"https://api.github.com/repos/kiwiirc/kiwiirc/issues/705/labels{/name}","comments_url":"https://api.github.com/repos/kiwiirc/kiwiirc/issues/705/comments","events_url":"https://api.github.com/repos/kiwiirc/kiwiirc/issues/705/events","html_url":"https://github.com/kiwiirc/kiwiirc/pull/705","id":388787388,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2OTcyNjEy","number":705,"title":"skip default input handler if event.handled was set by another handler","user":{"login":"vith","id":3265539,"node_id":"MDQ6VXNlcjMyNjU1Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/3265539?v=4","gravatar_id":"","url":"https://api.github.com/users/vith","html_url":"https://github.com/vith","followers_url":"https://api.github.com/users/vith/followers","following_url":"https://api.github.com/users/vith/following{/other_user}","gists_url":"https://api.github.com/users/vith/gists{/gist_id}","starred_url":"https://api.github.com/users/vith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vith/subscriptions","organizations_url":"https://api.github.com/users/vith/orgs","repos_url":"https://api.github.com/users/vith/repos","events_url":"https://api.github.com/users/vith/events{/privacy}","received_events_url":"https://api.github.com/users/vith/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-07T19:39:02Z","updated_at":"2018-12-11T17:43:49Z","closed_at":"2018-12-11T10:00:28Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/kiwiirc/kiwiirc/pulls/705","html_url":"https://github.com/kiwiirc/kiwiirc/pull/705","diff_url":"https://github.com/kiwiirc/kiwiirc/pull/705.diff","patch_url":"https://github.com/kiwiirc/kiwiirc/pull/705.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/kiwiirc/kiwiirc/issues/comments/446294112","html_url":"https://github.com/kiwiirc/kiwiirc/pull/705#issuecomment-446294112","issue_url":"https://api.github.com/repos/kiwiirc/kiwiirc/issues/705","id":446294112,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjI5NDExMg==","user":{"login":"vith","id":3265539,"node_id":"MDQ6VXNlcjMyNjU1Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/3265539?v=4","gravatar_id":"","url":"https://api.github.com/users/vith","html_url":"https://github.com/vith","followers_url":"https://api.github.com/users/vith/followers","following_url":"https://api.github.com/users/vith/following{/other_user}","gists_url":"https://api.github.com/users/vith/gists{/gist_id}","starred_url":"https://api.github.com/users/vith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vith/subscriptions","organizations_url":"https://api.github.com/users/vith/orgs","repos_url":"https://api.github.com/users/vith/repos","events_url":"https://api.github.com/users/vith/events{/privacy}","received_events_url":"https://api.github.com/users/vith/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T17:43:49Z","updated_at":"2018-12-11T17:43:49Z","author_association":"CONTRIBUTOR","body":"What I'm trying to enable here is for a plugin to get a first look at non-command input and have the option of preventing the default /msg handler from running.\r\n\r\nI've looked over it again but I still don't see any existing way to do this. If the typed input is not a command, it is rewritten to be /msg in channels/etc. here:  https://github.com/kiwiirc/kiwiirc/blob/6dd459853529cc9e60385e7653c0b676ff7388ff/src/libs/InputHandler.js#L59-L71\r\n\r\nSo eventually the `/msg` handler will be called through this emit: https://github.com/kiwiirc/kiwiirc/blob/6dd459853529cc9e60385e7653c0b676ff7388ff/src/libs/InputHandler.js#L104-L105\r\n\r\nThe event emitter we're using doesn't have any built in way for a handler to make it break out of the loop over the registered listeners."}}
{"actor":{"display_login":"vith"}}