{"action":"created","issue":{"url":"https://api.github.com/repos/DMDirc/DMDirc/issues/16","labels_url":"https://api.github.com/repos/DMDirc/DMDirc/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/DMDirc/DMDirc/issues/16/comments","events_url":"https://api.github.com/repos/DMDirc/DMDirc/issues/16/events","html_url":"https://github.com/DMDirc/DMDirc/issues/16","id":43658691,"number":16,"title":"Alias \"comment\"","user":{"login":"csmith","id":189133,"avatar_url":"https://avatars.githubusercontent.com/u/189133?v=3","gravatar_id":"","url":"https://api.github.com/users/csmith","html_url":"https://github.com/csmith","followers_url":"https://api.github.com/users/csmith/followers","following_url":"https://api.github.com/users/csmith/following{/other_user}","gists_url":"https://api.github.com/users/csmith/gists{/gist_id}","starred_url":"https://api.github.com/users/csmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csmith/subscriptions","organizations_url":"https://api.github.com/users/csmith/orgs","repos_url":"https://api.github.com/users/csmith/repos","events_url":"https://api.github.com/users/csmith/events{/privacy}","received_events_url":"https://api.github.com/users/csmith/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DMDirc/DMDirc/labels/Component%3A+Commands","name":"Component: Commands","color":"bfe5bf"},{"url":"https://api.github.com/repos/DMDirc/DMDirc/labels/Type%3A+Improvement","name":"Type: Improvement","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-09-23T17:29:19Z","updated_at":"2015-01-07T23:47:43Z","closed_at":"2015-01-07T23:47:43Z","body":"From @ShaneMcC:\r\n\r\nSometimes it is nice to be able to disable part of an alias without removing things entirely, or having multiple aliases. \r\n\r\nIn the past, I've done this with a special \"comment\" action (an UNKNOWN_COMMAND action that has a \"string startswith /\" condition) that did nothing except change the formatter and prevent the default action occurring - effectively making things like \"//foo\" or \"// foo\" a no-op. When we remove actions, this probably won't be possible. \r\n\r\nIt would be nice if there was a built-in way of doing this, rather than needing a hacky action."},"comment":{"url":"https://api.github.com/repos/DMDirc/DMDirc/issues/comments/69113642","html_url":"https://github.com/DMDirc/DMDirc/issues/16#issuecomment-69113642","issue_url":"https://api.github.com/repos/DMDirc/DMDirc/issues/16","id":69113642,"user":{"login":"csmith","id":189133,"avatar_url":"https://avatars.githubusercontent.com/u/189133?v=3","gravatar_id":"","url":"https://api.github.com/users/csmith","html_url":"https://github.com/csmith","followers_url":"https://api.github.com/users/csmith/followers","following_url":"https://api.github.com/users/csmith/following{/other_user}","gists_url":"https://api.github.com/users/csmith/gists{/gist_id}","starred_url":"https://api.github.com/users/csmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csmith/subscriptions","organizations_url":"https://api.github.com/users/csmith/orgs","repos_url":"https://api.github.com/users/csmith/repos","events_url":"https://api.github.com/users/csmith/events{/privacy}","received_events_url":"https://api.github.com/users/csmith/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T23:47:43Z","updated_at":"2015-01-07T23:47:43Z","body":"Don't think we're going to do this in aliases. Anything complicated enough to need bits commented out should probably be a plugin or script."}}