{"action":"created","issue":{"url":"https://api.github.com/repos/sm00th/bitlbee-discord/issues/28","repository_url":"https://api.github.com/repos/sm00th/bitlbee-discord","labels_url":"https://api.github.com/repos/sm00th/bitlbee-discord/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/sm00th/bitlbee-discord/issues/28/comments","events_url":"https://api.github.com/repos/sm00th/bitlbee-discord/issues/28/events","html_url":"https://github.com/sm00th/bitlbee-discord/issues/28","id":147280441,"number":28,"title":"Translate Discord Markdown formatting to/from IRC formatting","user":{"login":"digitalcircuit","id":1449717,"avatar_url":"https://avatars.githubusercontent.com/u/1449717?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalcircuit","html_url":"https://github.com/digitalcircuit","followers_url":"https://api.github.com/users/digitalcircuit/followers","following_url":"https://api.github.com/users/digitalcircuit/following{/other_user}","gists_url":"https://api.github.com/users/digitalcircuit/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalcircuit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalcircuit/subscriptions","organizations_url":"https://api.github.com/users/digitalcircuit/orgs","repos_url":"https://api.github.com/users/digitalcircuit/repos","events_url":"https://api.github.com/users/digitalcircuit/events{/privacy}","received_events_url":"https://api.github.com/users/digitalcircuit/received_events","type":"User","site_admin":false},"labels":[{"id":269937703,"url":"https://api.github.com/repos/sm00th/bitlbee-discord/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-04-10T23:55:11Z","updated_at":"2016-12-08T10:08:09Z","closed_at":null,"body":"Most IRC clients support mIRC [color codes](http://en.wikichip.org/wiki/irc/colors) and [formatting](https://wiki.mibbit.com/index.php/Formatting) for _italics_, **bold**, etc.  For example, here's how [Quassel IRC handles converting from mIRC to Qt internal](https://github.com/quassel/quassel/blob/9585227400dd89f8a4d6bbc723f2d36ca0dc1a70/src/uisupport/uistyle.cpp#L580-L652).\n\nDiscord also [supports formatting (minus colors) via their flavor of Markdown](https://support.discordapp.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline-).  Mapping mIRC to Markdown and vice-versa would help keep visual intent the same.\n\nThis should be optional, akin to the `incoming_me_translation`, say, `incoming_format_translation`, and apply to both channels and private messages (_also see issue #27_).  Sending out mIRC codes probably should always be translated as the special characters are nonsensical to the Discord client.\n\nSome more information on color and formatting (feel free to ignore the color aspect):\nhttp://en.wikichip.org/wiki/irc/colors\nhttps://wiki.mibbit.com/index.php/Formatting\nhttp://www.mirc.com/colors.html\n\n_Aside: the Bitlbee OTR plugin uses mIRC color and formatting codes, then strips certain color combinations and the prefix of_ **`<<OTR>>`** _in order to ensure OTR messages cannot be spoofed.  However, it's unlikely to need handled here, for even if the OTR plugin doesn't account for other plugins, Discord itself doesn't support colors._\n"},"comment":{"url":"https://api.github.com/repos/sm00th/bitlbee-discord/issues/comments/265702545","html_url":"https://github.com/sm00th/bitlbee-discord/issues/28#issuecomment-265702545","issue_url":"https://api.github.com/repos/sm00th/bitlbee-discord/issues/28","id":265702545,"user":{"login":"zertap","id":4278522,"avatar_url":"https://avatars.githubusercontent.com/u/4278522?v=3","gravatar_id":"","url":"https://api.github.com/users/zertap","html_url":"https://github.com/zertap","followers_url":"https://api.github.com/users/zertap/followers","following_url":"https://api.github.com/users/zertap/following{/other_user}","gists_url":"https://api.github.com/users/zertap/gists{/gist_id}","starred_url":"https://api.github.com/users/zertap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zertap/subscriptions","organizations_url":"https://api.github.com/users/zertap/orgs","repos_url":"https://api.github.com/users/zertap/repos","events_url":"https://api.github.com/users/zertap/events{/privacy}","received_events_url":"https://api.github.com/users/zertap/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T10:08:09Z","updated_at":"2016-12-08T10:08:09Z","body":"Yes, translating incoming and outgoing bolds and italics would be a nice addition."}}
{"actor":{"display_login":"zertap"}}