Closed pacien closed 1 year ago
What does your registration file look like (sans tokens)?
Here's the content of discord-registration.yaml
:
id: REDACTED
hs_token: REDACTED
as_token: REDACTED
namespaces:
users:
- exclusive: true
regex: '@_discord_.*'
aliases:
- exclusive: true
regex: '#_discord_.*'
rooms: []
url: 'http://localhost:9005'
sender_localpart: _discord_bot
rate_limited: false
protocols:
- discord
I'm not sure if a recent change broke it, but you need the domain of your homeserver on the end of those regex fields. E.g. @_discord_.*:half-shot.uk
Adding the homeserver to the regex(s) fixed the issue, thanks!
(This is quite strange nevertheless that it defaulted to t2bot.io
;
I couldn't find any reference to that domain in the source code).
It just saw a t2bot in a room and thought "oh, that's one of mine!". Dumb bridge is dumb :p
I recently updated matrix-appservice-discord from v1.0.0 to v3.0.0. Everything worked for a while until the error in the log below. Since then, the bridge has been repeatedly crashing with the same error.
What's strange is that the error refers to an MXID ending with
:t2bot.io
while I'm hosting my own bridge and homeserver on my own domain. There's no reference tot2bot.io
in my configuration.