{"action":"opened","issue":{"url":"https://api.github.com/repos/reactiflux/discord-irc/issues/430","repository_url":"https://api.github.com/repos/reactiflux/discord-irc","labels_url":"https://api.github.com/repos/reactiflux/discord-irc/issues/430/labels{/name}","comments_url":"https://api.github.com/repos/reactiflux/discord-irc/issues/430/comments","events_url":"https://api.github.com/repos/reactiflux/discord-irc/issues/430/events","html_url":"https://github.com/reactiflux/discord-irc/issues/430","id":354002441,"node_id":"MDU6SXNzdWUzNTQwMDI0NDE=","number":430,"title":"Feature Request: Block predefined spam messages","user":{"login":"Kage","id":210263,"node_id":"MDQ6VXNlcjIxMDI2Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/210263?v=4","gravatar_id":"","url":"https://api.github.com/users/Kage","html_url":"https://github.com/Kage","followers_url":"https://api.github.com/users/Kage/followers","following_url":"https://api.github.com/users/Kage/following{/other_user}","gists_url":"https://api.github.com/users/Kage/gists{/gist_id}","starred_url":"https://api.github.com/users/Kage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kage/subscriptions","organizations_url":"https://api.github.com/users/Kage/orgs","repos_url":"https://api.github.com/users/Kage/repos","events_url":"https://api.github.com/users/Kage/events{/privacy}","received_events_url":"https://api.github.com/users/Kage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-25T10:33:28Z","updated_at":"2018-08-25T10:33:28Z","closed_at":null,"author_association":"NONE","body":"### Problem\r\n\r\nOur IRC network uses the UnrealIRCd `spamfilter` feature to block various defined spam messages. Currently users in Discord can send these blocked messages which either disrupts the bot (gets gzlined) or spams them (if something like an oper override is applied to the bot).\r\n\r\n### Request\r\n\r\n**As** an IRC administrator\r\n**I want to** prevent Discord from sending certain predefined messages\r\n**So that** my bot does not conflict with my `spamfilter` settings\r\n\r\nOptimally, I would like to set an array of regular expressions in my `config.json` that, if matched, do some defined action (much like the IRC `spamfilter`). For now it's sufficient for me if that action is simply not sending the message to IRC. But other options could include Discord punishments (muting, banning, etc.). Bi-directionality (IRC users sending messages unwelcome in Discord, kicking or banning in IRC, etc.) could be useful, too."}}
{"actor":{"display_login":"Kage"}}