{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitica/issues/8197","repository_url":"https://api.github.com/repos/HabitRPG/habitica","labels_url":"https://api.github.com/repos/HabitRPG/habitica/issues/8197/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitica/issues/8197/comments","events_url":"https://api.github.com/repos/HabitRPG/habitica/issues/8197/events","html_url":"https://github.com/HabitRPG/habitica/pull/8197","id":187902606,"number":8197,"title":"Added block when user types a swear word listed in banned words","user":{"login":"TheHollidayInn","id":1253400,"avatar_url":"https://avatars.githubusercontent.com/u/1253400?v=3","gravatar_id":"","url":"https://api.github.com/users/TheHollidayInn","html_url":"https://github.com/TheHollidayInn","followers_url":"https://api.github.com/users/TheHollidayInn/followers","following_url":"https://api.github.com/users/TheHollidayInn/following{/other_user}","gists_url":"https://api.github.com/users/TheHollidayInn/gists{/gist_id}","starred_url":"https://api.github.com/users/TheHollidayInn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheHollidayInn/subscriptions","organizations_url":"https://api.github.com/users/TheHollidayInn/orgs","repos_url":"https://api.github.com/users/TheHollidayInn/repos","events_url":"https://api.github.com/users/TheHollidayInn/events{/privacy}","received_events_url":"https://api.github.com/users/TheHollidayInn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2016-11-08T05:02:10Z","updated_at":"2016-11-27T23:28:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/HabitRPG/habitica/pulls/8197","html_url":"https://github.com/HabitRPG/habitica/pull/8197","diff_url":"https://github.com/HabitRPG/habitica/pull/8197.diff","patch_url":"https://github.com/HabitRPG/habitica/pull/8197.patch"},"body":"[//]: # (Note: See http://habitica.wikia.com/wiki/Using_Habitica_Git#Pull_Request for more info)\r\n\r\n[//]: # (Put Issue # or URL here, if applicable. This will automatically close the issue if your PR is merged in)\r\nFixes #8061\r\n\r\n### Changes\r\n[//]: # (Describe the changes that were made in detail here. Include pictures if necessary)\r\n\r\nThe following flow has been added\r\n\r\n- Admins add banned word to content/banned-words\r\n- User types an exact match banned word in a public chat\r\n- ChatCtrl prevents message and displays error while leaving message available to be edited\r\n\r\n[//]: # (Put User ID in here - found in Settings -> API)\r\n----\r\nUUID: \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitica/issues/comments/263155885","html_url":"https://github.com/HabitRPG/habitica/pull/8197#issuecomment-263155885","issue_url":"https://api.github.com/repos/HabitRPG/habitica/issues/8197","id":263155885,"user":{"login":"abatula","id":2165770,"avatar_url":"https://avatars.githubusercontent.com/u/2165770?v=3","gravatar_id":"","url":"https://api.github.com/users/abatula","html_url":"https://github.com/abatula","followers_url":"https://api.github.com/users/abatula/followers","following_url":"https://api.github.com/users/abatula/following{/other_user}","gists_url":"https://api.github.com/users/abatula/gists{/gist_id}","starred_url":"https://api.github.com/users/abatula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abatula/subscriptions","organizations_url":"https://api.github.com/users/abatula/orgs","repos_url":"https://api.github.com/users/abatula/repos","events_url":"https://api.github.com/users/abatula/events{/privacy}","received_events_url":"https://api.github.com/users/abatula/received_events","type":"User","site_admin":false},"created_at":"2016-11-27T23:28:07Z","updated_at":"2016-11-27T23:28:07Z","body":"Would it make more sense to add those placeholder words, or to stub/fake loading in the file during tests? I'm guessing that this should be the same for blocking slurs in #8177?"}}
{"actor":{"display_login":"abatula"}}