EMS-ESP32 icon indicating copy to clipboard operation
EMS-ESP32 copied to clipboard

Support Matrix additional to Discord

Open JokerGermany opened this issue 3 years ago • 22 comments

Would be great if you would let the user the choice if the want to use a free or proprietary chat protocol and support Matrix (element.io), too.

Would be cool if you you would bridge your discord Server with Matrix https://t2bot.io/discord/

JokerGermany avatar Oct 26 '22 13:10 JokerGermany

I hadn't heard of Matrix before, had to google it and found https://joinmatrix.org/guide/matrix-vs-discord/

what's the reason behind this request?

proddy avatar Oct 26 '22 16:10 proddy

The reason is to give the people a freedom of choice. I don't want to use discord.

I want to use a free, propritary protocol without something unknown controlling something. https://www.youtube.com/watch?v=uvNkdAggUGU

JokerGermany avatar Oct 28 '22 08:10 JokerGermany

It looks complicated to implement, for every channel? Do you have an example discord that has done this so I can compare. Anyone else wants this done?

proddy avatar Oct 30 '22 16:10 proddy

It looks complicated to implement, for every channel? Do you have an example discord that has done this so I can compare.

t2bot.io bridges 10 Million Discord and Telgram channels/groups with 2 Million Discord users. ( https://matrix.org/blog/2022/08/26/this-week-in-matrix-2022-08-26 ) On bigger Group which use the group and i know is this one: https://discord.gg/SponsorBlock

Another Discord where you can see how it works and ask is here: https://discord.gg/UXNUEqQdqz

If you need help i can assist you, then you just need to accept it in every channel.

JokerGermany avatar Oct 30 '22 17:10 JokerGermany

ok, lets do it

proddy avatar Oct 30 '22 17:10 proddy

I am working on it: grafik Need to change some room permission, invite an moderator-bot and so on. I will write back when i am done.

This is the adress of the main space (comparable with a discord server) https://matrix.to/#/#ems-esp:matrix.org

JokerGermany avatar Oct 30 '22 22:10 JokerGermany

Okay I am ready. Now you need to add this bot to your discord server: https://discordapp.com/api/oauth2/authorize?client_id=309408702530846730&scope=bot&permissions=607251456

Then we need a appointment because someone on the discord server with enough rights has to approve the bridge within a certain timeframe.

JokerGermany avatar Nov 03 '22 17:11 JokerGermany

bot has been added

proddy avatar Nov 06 '22 13:11 proddy

bot has been added

okay, i tested it in the off-topic channel, welcome-and-rules and announcement.

  1. We need to meet at sometime, because

Someone with permission to manage webhooks please reply with !matrix approve or !matrix deny in the next 5 minutes. (See in off-topic ( BTW: message can be deleted when approved))

  1. Looks like the bridge need permission to write in rooms like announcement and welcome-and-rules when this rooms should be bridged, too.

There was a problem bridging that channel - has the guild owner approved the bridge?

JokerGermany avatar Nov 07 '22 17:11 JokerGermany

This is not completed.

JokerGermany avatar Feb 25 '23 22:02 JokerGermany

because I don't know what to do next,

proddy avatar Jul 03 '23 11:07 proddy

bot has been added

okay, i tested it in the off-topic channel, welcome-and-rules and announcement.

1. We need to meet at sometime, because

Someone with permission to manage webhooks please reply with !matrix approve or !matrix deny in the next 5 minutes. (See in off-topic ( BTW: message can be deleted when approved))

2. Looks like the bridge need permission to write in rooms like announcement and welcome-and-rules when this rooms should be bridged, too.

There was a problem bridging that channel - has the guild owner approved the bridge?

This has to be done next

JokerGermany avatar Aug 26 '23 06:08 JokerGermany

@MichaelDvP Is @mdvp:tchncs.de your matrix account and do you have enough rights in the discord to accept the bridge?

JokerGermany avatar Aug 30 '23 18:08 JokerGermany

Is @mdvp:tchncs.de your matrix account

Maybe, its a while since i created a account, but never used.

and do you have enough rights in the discord to accept the bridge?

Don't think so, i think i'm normal user, i don't like discord and use is very rarely.

MichaelDvP avatar Aug 30 '23 19:08 MichaelDvP

Don't think so, i think i'm normal user, i don't like discord and use is very rarely.

Okay, thanks then i need @proddy Yeah I don't like discord, too https://www.youtube.com/watch?v=uvNkdAggUGU

JokerGermany avatar Aug 30 '23 20:08 JokerGermany

Don't think so, i think i'm normal user, i don't like discord and use is very rarely.

Okay, thanks then i need @proddy Yeah I don't like discord, too https://www.youtube.com/watch?v=uvNkdAggUGU

I don't know Matrix, and don't trust Discord (this is just what most of the open source community seemed to use) so tell me what to do.

proddy avatar Aug 30 '23 20:08 proddy

I don't know Matrix, and don't trust Discord (this is just what most of the open source community seemed to use) so tell me what to do.

  1. Looks like the bridge need permission to write in rooms like announcement and welcome-and-rules when this rooms should be bridged, too.

  2. For the other room, when I ask to bridge the room you have 5 Minutes to approve the request with !matrix approve Thats the reason why we need to make an appointment to bridge the rooms. (I made an example request in off-topic)

Thats what i got:

I'm asking permission from the guild administrators to make this bridge.

Thats what you should have got in the channel:

Someone with permission to manage webhooks please reply with !matrix approve or !matrix deny in the next 5 minutes.

BTW: This is the EMS-ESP Space in Matrix: https://matrix.to/#/#ems-esp:matrix.org

JokerGermany avatar Aug 31 '23 12:08 JokerGermany

we just need to agree on a date/time when I'm online so can bash that button to accept within the 5 min time window

proddy avatar Sep 02 '23 11:09 proddy

All channels are bridged now. For the Announcement channel I had to create an Discord Server, follow the announcement Channel and then bridge this channel to matrix... ( https://matrix.to/#/!MBrxZRUoApYYjmyion:t2bot.io/$3oaznIZpoHdVKoj5Djc4uO1fo7SfW8hc8uZgDEbO7zw?via=t2bot.io&via=matrix.org&via=envs.net )

The announcement and github channels aren't public right now, because I need to wait for the first message from discord, give the github hook enough rights and then make it for all others read only.

Difference between Discord and Matrix: https://matrix.to/#/#ems-esp:matrix.org contains two more public rooms:

  1. #EMS-ESP_community:gitter.im
  2. EMS-ESP32 Release which only contains this RSS Feed: https://github.com/emsesp/EMS-ESP32/releases.atom

JokerGermany avatar Sep 04 '23 10:09 JokerGermany

@proddy FYI Sadly the channels are unbridged now: https://matrix.to/#/!eTLgPMtcqcAGwtXDRF:t2bot.io/$j1Y7lxa3aRdDGl8w9gF64E8AvP8bYz2tgXTtRtN81To?via=t2bot.io&via=matrix.org&via=envs.net

Hi @room - Unfortunately the Discord bridge deleted all of its bridge associations and cannot be recovered. Manual re-bridging is required. I've already started putting infrastructure changes in place to avoid this being an issue in the future, but cannot fix the past ☹️

If you run into issues re-bridging, please head over to t2bot.io

A more technical description of what happened is available on the blog: https://t2bot.io/blog/2024/01/14/discord-bridge-reset/

JokerGermany avatar Jan 17 '24 16:01 JokerGermany

oh, ok, then same trick as last time then. maybe this weekend?

proddy avatar Jan 17 '24 21:01 proddy

Sorry, don't get the message

JokerGermany avatar Jan 29 '24 22:01 JokerGermany

@JokerGermany with Discord's recent announcement to focus on the Gaming community, I'm thinking of migrating our Discord channels to a hosted Matrix server.

Is this something you would like to help with? Any suggestions of where to host?

Maybe jointly with @bbqkees?

proddy avatar May 30 '24 08:05 proddy