matrix-appservice-discord icon indicating copy to clipboard operation
matrix-appservice-discord copied to clipboard

Bridge should unbridge deleted servers/channels automatically

Open turt2live opened this issue 6 years ago • 4 comments

Otherwise when the server/channel goes missing the room is unable to re-bridge to anything else:

  • !discord unbridge: guild not found
  • !discord bridge: This room is already bridged.

turt2live avatar Jul 02 '19 16:07 turt2live

I'm surprised this isn't handled by https://github.com/Half-Shot/matrix-appservice-discord/blob/master/src/channelsyncroniser.ts#L122

Half-Shot avatar Jul 17 '19 10:07 Half-Shot

If you delete the discord server that the bot was connected to, and then try to "!discord unbridge" it returns an error "guild not found". But there's then no way to re-link the channel again, it says "channel is already bridged" when I try to re-bridge it.

So I guess this means I'll need to make a new matrix channel :)

paralin avatar Mar 02 '22 10:03 paralin

Can reproduce, having this issue quite often. Could you perhaps add a !discord unbridge --force switch (which overrides all checks and simply "forgets" the bridge) as a temporary workaround? Thanks

hxr404 avatar Aug 04 '22 09:08 hxr404

Over the years this has also become an accidental trust&safety feature, ftr.

turt2live avatar Aug 04 '22 14:08 turt2live