{"action":"created","issue":{"url":"https://api.github.com/repos/python-discord/bot/issues/148","repository_url":"https://api.github.com/repos/python-discord/bot","labels_url":"https://api.github.com/repos/python-discord/bot/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/python-discord/bot/issues/148/comments","events_url":"https://api.github.com/repos/python-discord/bot/issues/148/events","html_url":"https://github.com/python-discord/bot/issues/148","id":381861468,"node_id":"MDU6SXNzdWUzODE4NjE0Njg=","number":148,"title":"AntiSpam issues discovered in production","user":{"login":"pydis-bot","id":45082066,"node_id":"MDQ6VXNlcjQ1MDgyMDY2","avatar_url":"https://avatars1.githubusercontent.com/u/45082066?v=4","gravatar_id":"","url":"https://api.github.com/users/pydis-bot","html_url":"https://github.com/pydis-bot","followers_url":"https://api.github.com/users/pydis-bot/followers","following_url":"https://api.github.com/users/pydis-bot/following{/other_user}","gists_url":"https://api.github.com/users/pydis-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/pydis-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydis-bot/subscriptions","organizations_url":"https://api.github.com/users/pydis-bot/orgs","repos_url":"https://api.github.com/users/pydis-bot/repos","events_url":"https://api.github.com/users/pydis-bot/events{/privacy}","received_events_url":"https://api.github.com/users/pydis-bot/received_events","type":"User","site_admin":false},"labels":[{"id":1130881946,"node_id":"MDU6TGFiZWwxMTMwODgxOTQ2","url":"https://api.github.com/repos/python-discord/bot/labels/Backend","name":"Backend","color":"e1e4e9","default":false},{"id":1130881984,"node_id":"MDU6TGFiZWwxMTMwODgxOTg0","url":"https://api.github.com/repos/python-discord/bot/labels/Cogs","name":"Cogs","color":"e1e4e9","default":false},{"id":1130881947,"node_id":"MDU6TGFiZWwxMTMwODgxOTQ3","url":"https://api.github.com/repos/python-discord/bot/labels/in%20progress","name":"in progress","color":"e1e4e9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-11-17T13:04:30Z","updated_at":"2018-11-17T13:05:14Z","closed_at":null,"author_association":"NONE","body":"**Originally posted by Leon Sandøy:**\n\nThere are a couple of issues with AntiSpam that should be investigated.\n\n* [ ]  When AntiSpam mutes a user, it does not create an infraction. Could the mute be created via the Moderation cog so that the mute is done the same way as when we use the `!mute` command?\n* [x]  The Newlines filter is triggering for 27 newlines instead of 100. This makes it mute legitimate users for posting code. The cog has been disabled while this is being addressed.\n* [x]  in the yaml default config, many of the filter groups appear multiple times. like newlines, mentions, role_mentions and links. Clean this up and investigate if it may have contributed to the 27\n* [x]  6 emojis in 10 seconds may be a little low. let's double it?\n* [x]  Add a channel whitelist !50 \n* [x]  Add a role whitelist    !50 \n* [x]  Does not appear to ignore messages correctly - alerts are still fired in #dev-alerts on bulk-delete.\n* [ ]  URL filtering should not activate on a single message, because this means that innocent stuff like a single pip install log for discord.py rewrite will trigger antispam. I have temporarily set the link max to 20 while this is fixed."},"comment":{"url":"https://api.github.com/repos/python-discord/bot/issues/comments/439615313","html_url":"https://github.com/python-discord/bot/issues/148#issuecomment-439615313","issue_url":"https://api.github.com/repos/python-discord/bot/issues/148","id":439615313,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTYxNTMxMw==","user":{"login":"pydis-bot","id":45082066,"node_id":"MDQ6VXNlcjQ1MDgyMDY2","avatar_url":"https://avatars1.githubusercontent.com/u/45082066?v=4","gravatar_id":"","url":"https://api.github.com/users/pydis-bot","html_url":"https://github.com/pydis-bot","followers_url":"https://api.github.com/users/pydis-bot/followers","following_url":"https://api.github.com/users/pydis-bot/following{/other_user}","gists_url":"https://api.github.com/users/pydis-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/pydis-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydis-bot/subscriptions","organizations_url":"https://api.github.com/users/pydis-bot/orgs","repos_url":"https://api.github.com/users/pydis-bot/repos","events_url":"https://api.github.com/users/pydis-bot/events{/privacy}","received_events_url":"https://api.github.com/users/pydis-bot/received_events","type":"User","site_admin":false},"created_at":"2018-11-17T13:05:14Z","updated_at":"2018-11-17T13:05:14Z","author_association":"NONE","body":"**Comment from Johannes Christ:**\n\nmentioned in commit b9a5769e1cad7e061baeafcd9642be8843309be2"}}
{"actor":{"display_login":"pydis-bot"}}