discordIRCd
discordIRCd copied to clipboard
Handle code blocks better using github gist and possibly irccloud text snippets
Currently they aren't handled at all resulting in each line being send to irc separately, making the code unreadable.
The best solution to me seems to look for code blocks and pass those to a pastebin like service.
However, since some channels likely are considered private I don't want to do this to a open service. So the only services I will build in are those that allow private/unlisted text snippets.
gist.github.com is the most obvious choice for this. Secondly I want to explore if the irccloud text snippet functionality has an api endpoint.
As a reference point
Gitter and Slack IRC gateways dumps code blocks as IRC lines
