{"action":"created","issue":{"url":"https://api.github.com/repos/MrStandalone/DeadCorePluginManager/issues/7","labels_url":"https://api.github.com/repos/MrStandalone/DeadCorePluginManager/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/MrStandalone/DeadCorePluginManager/issues/7/comments","events_url":"https://api.github.com/repos/MrStandalone/DeadCorePluginManager/issues/7/events","html_url":"https://github.com/MrStandalone/DeadCorePluginManager/issues/7","id":121440442,"number":7,"title":"Need a nicer way to do console commands","user":{"login":"MrStandalone","id":13182126,"avatar_url":"https://avatars.githubusercontent.com/u/13182126?v=3","gravatar_id":"","url":"https://api.github.com/users/MrStandalone","html_url":"https://github.com/MrStandalone","followers_url":"https://api.github.com/users/MrStandalone/followers","following_url":"https://api.github.com/users/MrStandalone/following{/other_user}","gists_url":"https://api.github.com/users/MrStandalone/gists{/gist_id}","starred_url":"https://api.github.com/users/MrStandalone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrStandalone/subscriptions","organizations_url":"https://api.github.com/users/MrStandalone/orgs","repos_url":"https://api.github.com/users/MrStandalone/repos","events_url":"https://api.github.com/users/MrStandalone/events{/privacy}","received_events_url":"https://api.github.com/users/MrStandalone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-10T09:36:55Z","updated_at":"2015-12-10T09:37:45Z","closed_at":null,"body":"Title says it all, ideas at the moment is to have a Dictionary<String, delegate/EventHandler> and the string part will be the command prefix, eg `MainConsole.RegisterConsoleCommand(\"coop connect\", Cmd_Connect);`, should still work the same way currently in that any delegate added that throws an exception will be removed"},"comment":{"url":"https://api.github.com/repos/MrStandalone/DeadCorePluginManager/issues/comments/163551977","html_url":"https://github.com/MrStandalone/DeadCorePluginManager/issues/7#issuecomment-163551977","issue_url":"https://api.github.com/repos/MrStandalone/DeadCorePluginManager/issues/7","id":163551977,"user":{"login":"MrStandalone","id":13182126,"avatar_url":"https://avatars.githubusercontent.com/u/13182126?v=3","gravatar_id":"","url":"https://api.github.com/users/MrStandalone","html_url":"https://github.com/MrStandalone","followers_url":"https://api.github.com/users/MrStandalone/followers","following_url":"https://api.github.com/users/MrStandalone/following{/other_user}","gists_url":"https://api.github.com/users/MrStandalone/gists{/gist_id}","starred_url":"https://api.github.com/users/MrStandalone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrStandalone/subscriptions","organizations_url":"https://api.github.com/users/MrStandalone/orgs","repos_url":"https://api.github.com/users/MrStandalone/repos","events_url":"https://api.github.com/users/MrStandalone/events{/privacy}","received_events_url":"https://api.github.com/users/MrStandalone/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T09:37:45Z","updated_at":"2015-12-10T09:37:45Z","body":"This would also provide an easy way of preventing duplicate console commands, I will indeed do this"}}