matterbridge
matterbridge copied to clipboard
Discord ShowJoinPart will repeat message to Discord
Describe the bug I have this setup with 2 IRC servers and a Discord server bridging channels. The config has the option to show join/parts setup for all 3 (ShowJoinPart=true)
What happens is when a user joins Discord, the message is broadcasted to all IRC channels, which then broadcasts back to discord on all channels. The discord message appears as such:
<system@Discord> User joins
To Reproduce
- Configure bridge between multiple IRC and discord channels with ShowJoinPart set to true on all.
- User joins Discord.
- Message is broadcasted to IRC channels
- Message is broadcasted to Discord related channels from IRC bot.
Expected behavior If discord is broadcasting a user has joined the server to IRC, it should not be repeated back over the bridge to the IRC connected channels
Environment (please complete the following information):
- OS: Centos
- Matterbridge version: 1.22.1
- If self compiled: N/A, using matterbridge-1.22.1-linux-64bit from releases
Additional context Snippet of config
[irc]
[irc.Freenode]
Server="irc.freenode.net:6697"
UseTLS=true
Nick="BridgeBot"
RemoteNickFormat="<{NICK}@{BRIDGE}> "
ColorNicks=true
UseSASL=true
NickServNick="BridgeBot"
NickServPassword="BridgeBot"
IgnoreNicks="BridgeBot system@Discord"
ShowJoinPart=true
[irc.Libera]
Server="irc.libera.chat:6697"
UseTLS=true
Nick="BridgeBot"
RemoteNickFormat="<{NICK}@{BRIDGE}> "
ColorNicks=true
UseSASL=true
NickServNick="BridgeBot"
NickServPassword="BridgeBot"
IgnoreNicks="BridgeBot system@Discord"
ShowJoinPart=true
[discord]
[discord.Discord]
Token="########"
Server="##########"
RemoteNickFormat="<{NICK}@{BRIDGE}> "
IgnoreNicks="BridgeBot IRC system@Discord"
ShowJoinPart=true