Open alexroston opened 6 years ago
I'd like to see a variation of this where the line break gets converted into a space and as such would like to have it configurable so everyone's need could be satisfied:
Discord:
Hello
World
IRC:
<user> Hello World
Multi-line messages from Discord already get translated to IRC with spaces between the lines. I just tested it, and:
testing
multiline
gets translated to:
<Throne3d> testing multiline
However, this isn't super clear, so I can see why you'd want something like a linebreak instead of just a space (just, there is already a space) – we could end up more easily hitting into spam restrictions if we just do a new message for each linebreak, but that's not a super compelling reason not to do it.
I think I'd accept a PR to do this, or maybe it should be done through a paste service (#355) instead.
The clarity is even worse when dealing with quoted replies
In addition to quoted replies (blockquote syntax), code blocks suffer terribly from the collapse of line breaks. I can understand being cautious about sending multiple lines at once to avoid flooding the IRC channel, but in these cases at least, it renders the messages anywhere from difficult to impossible to read.
When I write messages in Discord which contain a linebreak (see example below) it's not mapping this linebreak onto IRC. It just links the two lines together without adding some kind of whitespace.
Example: Discord:
IRC:
It would be great if it could generate a new message in IRC after the linebreak since linebreaks are not supported by IRC. Like this: