mautrix / discord

A Matrix-Discord puppeting bridge
https://go.mau.fi/mautrix-discord
GNU Affero General Public License v3.0
253 stars 21 forks source link

Command to create new portal room for specific channel #150

Open ToxicFrog opened 3 months ago

ToxicFrog commented 3 months ago

At the moment, the bridge supports three bridging modes:

At the moment, if you want to selectively bridge a server -- i.e. you want to bridge some but not all of its channels -- you have to either bridge everything, then change the setting post hoc and delete all the surplus channels; or you have to bridge nothing, then manually create portal rooms.

It would be much nicer if you could just say !discord bridge-room <guild id> <room id> and have it automatically create the channel on the matrix-side for you.

This is kind of the opt-in mirror image of #56.

tulir commented 3 months ago

create-portal might work, not tested yet though

ToxicFrog commented 3 months ago

I'm having to recreate my homeserver thanks to #151 anyways, so I can give it a whirl now since I've got nothing to lose :D

ToxicFrog commented 3 months ago

It works! It doesn't create the room under a space, though, just leaves it free-floating, which is an issue once you have (e.g.) more than one #general.

I also cannot move the created channels into an existing space, because I have no admin permissions on the spaces M-D creates, and since I can't send messages in them there doesn't appear to be any way to grant those permissions -- this should probably be a separate issue.

kpfleming commented 2 months ago

Is this related to #96?

ToxicFrog commented 2 months ago

Aah, yes, I think this and #96 are fundamentally the same feature request.