{"action":"created","issue":{"url":"https://api.github.com/repos/reactiflux/discord-irc/issues/57","repository_url":"https://api.github.com/repos/reactiflux/discord-irc","labels_url":"https://api.github.com/repos/reactiflux/discord-irc/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/reactiflux/discord-irc/issues/57/comments","events_url":"https://api.github.com/repos/reactiflux/discord-irc/issues/57/events","html_url":"https://github.com/reactiflux/discord-irc/pull/57","id":149957994,"number":57,"title":"Add options to configure Discord messages","user":{"login":"ajwhite","id":656630,"avatar_url":"https://avatars.githubusercontent.com/u/656630?v=3","gravatar_id":"","url":"https://api.github.com/users/ajwhite","html_url":"https://github.com/ajwhite","followers_url":"https://api.github.com/users/ajwhite/followers","following_url":"https://api.github.com/users/ajwhite/following{/other_user}","gists_url":"https://api.github.com/users/ajwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/ajwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajwhite/subscriptions","organizations_url":"https://api.github.com/users/ajwhite/orgs","repos_url":"https://api.github.com/users/ajwhite/repos","events_url":"https://api.github.com/users/ajwhite/events{/privacy}","received_events_url":"https://api.github.com/users/ajwhite/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-21T03:58:23Z","updated_at":"2016-04-30T10:53:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/reactiflux/discord-irc/pulls/57","html_url":"https://github.com/reactiflux/discord-irc/pull/57","diff_url":"https://github.com/reactiflux/discord-irc/pull/57.diff","patch_url":"https://github.com/reactiflux/discord-irc/pull/57.patch"},"body":"This allows `**<author>**` to be configurable when sending a message from IRC to Discord.\r\n\r\nA `discordOptions` object is added to the config with an `includeAuthor` property. This is enabled by default, so there are no BC changes, it just allows for it to be excluded.\r\n\r\nAs for the implementation, I moved the formatting implementation details into a new `formatDiscordMessage` function since there is additional logic, and the potential for further rules to become applied.\r\n\r\n----\r\n\r\nI want to use `discord-irc` to allow myself to use Discord _as a user_ through IRC. Rather than having the IRC chat be a proxy for many users, through the Discord bot user, I want to treat it more as a direct proxy for _my_ Discord account. \r\n\r\nAll I need is for messages from IRC to omit the author tag and I'm good to go!\r\n\r\n\r\n### Example\r\n\r\n- `atticus-test` is \"another user in the Discord chat\"\r\n- `atticus` is me, both my Discord user, and the person chatting through IRC. \r\n\r\n![screen shot 2016-04-21 at 12 02 21 am](https://cloud.githubusercontent.com/assets/656630/14697699/57863ac2-0754-11e6-9fda-387f24479c46.png)\r\n\r\n![screen shot 2016-04-21 at 12 00 55 am](https://cloud.githubusercontent.com/assets/656630/14697693/42f429ac-0754-11e6-86e7-a149dbf35efc.png)\r\n"},"comment":{"url":"https://api.github.com/repos/reactiflux/discord-irc/issues/comments/215954787","html_url":"https://github.com/reactiflux/discord-irc/pull/57#issuecomment-215954787","issue_url":"https://api.github.com/repos/reactiflux/discord-irc/issues/57","id":215954787,"user":{"login":"ekmartin","id":3536982,"avatar_url":"https://avatars.githubusercontent.com/u/3536982?v=3","gravatar_id":"","url":"https://api.github.com/users/ekmartin","html_url":"https://github.com/ekmartin","followers_url":"https://api.github.com/users/ekmartin/followers","following_url":"https://api.github.com/users/ekmartin/following{/other_user}","gists_url":"https://api.github.com/users/ekmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/ekmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekmartin/subscriptions","organizations_url":"https://api.github.com/users/ekmartin/orgs","repos_url":"https://api.github.com/users/ekmartin/repos","events_url":"https://api.github.com/users/ekmartin/events{/privacy}","received_events_url":"https://api.github.com/users/ekmartin/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T10:53:01Z","updated_at":"2016-04-30T10:53:01Z","body":"Sorry for the late answer. Really clean implementation and PR, but I'm a bit unsure about the feature itself. Something similar (albeit the opposite) has been discussed before, here: https://github.com/reactiflux/discord-irc/pull/12\r\n\r\nSpecifically, see my comment here: https://github.com/reactiflux/discord-irc/pull/12#issuecomment-156758604\r\n\r\nI've discussed this a bit over at https://github.com/ekmartin/slack-irc too, which is what discord-irc is based on. In the end I decided to rather recommend https://github.com/aeirola/slack-irc-client - which lets you use Slack as a personal IRC client (with PM support and similar).\r\n\r\nI'm not completely sure though, but I think this might be a bit of a halfway measure compared to what you could actually get working if you didn't care about preserving the rest of the core functionality in discord-irc. What do you think?"}}