matterbridge icon indicating copy to clipboard operation
matterbridge copied to clipboard

Auto-pastebin big blocks of code and send the link to IRC, instead of the big block of code itself

Open mbacarella opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Some Discord channels are bridged to IRC channels, such as open source community help channels.

Sometimes some n00b shows up and posts, say, a block of code or a config file into the Discord chat, unaware that this channel is bridged to IRC, or that it would cause a problem for people on IRC since they get the full brunt of the output.

At this point the IRC users go argh stop arghh and someone scolds the n00b looking for help that they have just upset the IRC users and that they really should be careful to put this stuff into a pastebin in the future.

That kind of plants a bad feeling in the n00b who already isn't feeling great about asking for help.

Describe the solution you'd like It'd be super cool if the bridge had an option to throw blocks of code into a pastebin instead of repeating them line-by-line into IRC.

This helps both n00bs and experienced users alike, since the don't have to take the step to do this somewhat robotic task.

Describe alternatives you've considered A topic that tells people in the Discord channel that this is bridged into IRC. Not everyone sees it. Especially if they're on mobile Discord (doesn't show up at all). Also just not ergonomically great.

mbacarella avatar Mar 16 '22 19:03 mbacarella