{"action":"created","issue":{"url":"https://api.github.com/repos/FuelRats/pipsqueak/issues/4","labels_url":"https://api.github.com/repos/FuelRats/pipsqueak/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/FuelRats/pipsqueak/issues/4/comments","events_url":"https://api.github.com/repos/FuelRats/pipsqueak/issues/4/events","html_url":"https://github.com/FuelRats/pipsqueak/issues/4","id":117481206,"number":4,"title":"!close / !clear safety switch","user":{"login":"tyrope","id":516490,"avatar_url":"https://avatars.githubusercontent.com/u/516490?v=3","gravatar_id":"","url":"https://api.github.com/users/tyrope","html_url":"https://github.com/tyrope","followers_url":"https://api.github.com/users/tyrope/followers","following_url":"https://api.github.com/users/tyrope/following{/other_user}","gists_url":"https://api.github.com/users/tyrope/gists{/gist_id}","starred_url":"https://api.github.com/users/tyrope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyrope/subscriptions","organizations_url":"https://api.github.com/users/tyrope/orgs","repos_url":"https://api.github.com/users/tyrope/repos","events_url":"https://api.github.com/users/tyrope/events{/privacy}","received_events_url":"https://api.github.com/users/tyrope/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FuelRats/pipsqueak/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-18T00:12:48Z","updated_at":"2015-11-23T09:55:22Z","closed_at":null,"body":"```\r\n[0009.14Z] <&Ravenov> hmm, i just thought of a feature for mechasqueak[BOT] next time i see DukeOfEarl[Off] \r\n[0009.40Z] <Tyrope[PC]> Ravenov: Tell me, I'll post it on the bug tracker.\r\n[0009.56Z] <&Ravenov> a !protect option, so that a !clear requires a 2 step so a case doesn't get deleted by mistake\r\n```\r\nThis sounds like it should be default. The new bot already requires the username to be entered (since the IDs from the web API are just stupid) Perhaps it could go something like this:\r\n\r\n```\r\n<Tyrope> !clear testCase\r\n<pipsqueak> To clear \"testCase\" confirm with code 72478\r\n<Tyrope> !clear testCase 72477\r\n<pipsqueak> Confirmation code incorrect\r\n<Tyrope> !clear testCase 72478\r\n<pipsqueak> Confirmation code correct, case \"testCase\" closed.\r\n```\r\nedit: this 5 digit code would of course be randomized per case."},"comment":{"url":"https://api.github.com/repos/FuelRats/pipsqueak/issues/comments/158891312","html_url":"https://github.com/FuelRats/pipsqueak/issues/4#issuecomment-158891312","issue_url":"https://api.github.com/repos/FuelRats/pipsqueak/issues/4","id":158891312,"user":{"login":"tyrope","id":516490,"avatar_url":"https://avatars.githubusercontent.com/u/516490?v=3","gravatar_id":"","url":"https://api.github.com/users/tyrope","html_url":"https://github.com/tyrope","followers_url":"https://api.github.com/users/tyrope/followers","following_url":"https://api.github.com/users/tyrope/following{/other_user}","gists_url":"https://api.github.com/users/tyrope/gists{/gist_id}","starred_url":"https://api.github.com/users/tyrope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyrope/subscriptions","organizations_url":"https://api.github.com/users/tyrope/orgs","repos_url":"https://api.github.com/users/tyrope/repos","events_url":"https://api.github.com/users/tyrope/events{/privacy}","received_events_url":"https://api.github.com/users/tyrope/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T09:55:22Z","updated_at":"2015-11-23T09:55:22Z","body":"The web API already doesn't support deletions. But upon clearing cases the (sopel) bot removes the case and text lines associated with it from it's memory. As such future command do no longer work on it and vital information is lost."}}