Closed vinhbhn closed 3 years ago
Will review soon!
Hello. I have a few questions:
@__discord__bot
is generated on matrix chat. It runs on Synapse. Synapse as a node because Matrix is decentralized social network. Note: Synapse is not related to Matterbridge.
It's a bit unclear. Synapse is the matrix node. In my understanding it's usually used when we want to create our own matrix server (with our own domain). If we are using the matrix.io hosted server, do we still need to run Synapse? If yes, is it for getting some advanced API for the bridge bots?
That's right. But to do the message bridge, username and avatar impersonating task, you need a service called matrix-appservice-discord
(or mx-puppet-discord
), configuring them requires a homeserver other than matrix.org. That means you have to run synapse on your domain. It works the same functions as the t2bot.io you are using.
AFAIK t2bot.io supports the matriox.org domain. So I guess we have missed something here, or probably t2bot can somehow run a homeserver on matrix.org.
I see @discordbot:t2bot.io when I add t2bot to my matrix room. So I understand that the homeserver that t2bot is using is t2bot.io.
Ahhh, I got it. So it creates impersonate accounts on-the-fly on their homeserver. Okay now it makes a lot of sense. Thanks!
Btw, have you tried to configure a homeserver for that? And there's no additional config required for impersonate account on Discord, right?
AFAIK Matterbridge is just a messaging bridge, it cannot spoof usernames and avatars on matrix rooms. It means you have two options:
Below are pictures when I used matterbridge. It can display username and avatar from matrix to discord.
Ahhh, I got it. So it creates impersonate accounts on-the-fly on their homeserver. Okay now it makes a lot of sense. Thanks!
Btw, have you tried to configure a homeserver for that? And there's no additional config required for impersonate account on Discord, right?
I think you don't need to worry about spoofing usernames and avatars from other social networks to discord because discord supports that via discord webhook.
Thanks a lot. I'm glad to announce the PR is accepted. I'm going to payout the bounty in 3 days. Note that there's an ongoing PR on Gitcoin side to fix the DOT payment issue. If it cannot be merged in time, I will send it out manually.
Research the proper software to bridge Matrix-Discrod bridge
Document the detailed deployment guide, including how to:
I can't create
@__discord__
because it runs on synapse. You have to install synapse on the server and run matrix-appservice-discord or mx-puppet-discord.