matterbridge
matterbridge copied to clipboard
Discord messages empty content
My bridge had been running perfectly for around a year, and suddenly it stopped working around a month ago.
When I enabled debug, I noticed that messages from Discord to IRC were showing as empty.
[362984] DEBUG discord: [messageCreate:bridge/discord/handlers.go:110] == Receiving event &discordgo.Message{ID:"1017878706166968390", ChannelID:"706853326741831741", GuildID:"183665902254817280", Content:"", Timestamp:time.Date(2022, time.September, 9, 19, 26, 34, 822000000, time.Location("")), EditedTimestamp:
Messages from IRC to Discord are working fine still.
Tried upgrading to latest version (1.25.2), but that didn't help. Running the matterbridge-1.25.2-linux-armv6 binary on a Raspian.
Possibly something changed on Discord side, since nothing on my configuration or server has changed for a long time.
Config:
[discord.mydiscord]
Token="
[irc.myirc]
Server="irc.elisa.fi:6667"
Nick="
[[gateway]] name="gateway1" enable=true
[[gateway.inout]] account="discord.mydiscord" channel="irc"
[[gateway.inout]]
account="irc.myirc"
channel="
Weird thing is that if I tag the bot in Discord with @ircbot, then the messages will to through to IRC.
[363426] DEBUG discord: [messageCreate:bridge/discord/handlers.go:161] <= Sending message from X on discord.mydiscord to gateway [363426] DEBUG discord: [messageCreate:bridge/discord/handlers.go:162] <= Message is config.Message{Text:"@ircBot test", Channel:"irc", Username:"X", UserID:"X", Avatar:"https://cdn.discordapp.com/avatars/183665746914705408/413809fcaf37389d8ba95e2a82d7d252.jpg", Account:"discord.mydiscord", Event:"", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), ID:"1017880560355520573", Extra:map[string][]interface {}(nil)} [363426] DEBUG gateway: [SendMessage:gateway/gateway.go:499] => Sending config.Message{Text:"@ircBot test", Channel:"X", Username:"X", UserID:"X", Avatar:"https://cdn.discordapp.com/avatars/183665746914705408/413809fcaf37389d8ba95e2a82d7d252.jpg", Account:"discord.mydiscord", Event:"", Protocol:"discord", Gateway:"gateway1", Pare
I have the same issue, but with bridging discord with matrix and whatsapp. When i @ the bot, it goes through but all other messages dont.
@42wim any clue why this is happening?
I have the same issue, but with bridging discord with matrix and whatsapp. When i @ the bot, it goes through but all other messages dont.
I did a complete reset and re-install and it seemed to fix it. Never found out what suddenly broke it.
I could try that too but I really don't want to cross-compile for my Pi again lol, will report if that fixes anything once i re-install...
I just use the pre-compiled binary for my Pi. Works just fine.
Well, I need whatsappmulti which isn't distributed in main..
found the issue, i had to allow all privileged intent gateways on the discord side