qaisjp / go-discord-irc

The Discord and IRC bridge with puppets! An IRC user is created for each Discord user, messages from IRC seamlessly appear on Discord, and Discord mentions are automagically converted to and from IRC.
MIT License
113 stars 32 forks source link

Allow colour based spoilers on IRC #121

Closed AbstractBeliefs closed 3 years ago

AbstractBeliefs commented 3 years ago

In two parts:

  1. Replace || delimited spoilers from discord with the black on black IRC colour codes. This is rendered as it is in discord, meaning that embedded || will break spoilers.
  2. Remove colour stripping from the IRC->Discord side of the bridge, which enables spoiler detection to work.

Limitations: