discord icon indicating copy to clipboard operation
discord copied to clipboard

Command to create new portal room for specific channel

Open ToxicFrog opened this issue 1 year ago • 5 comments

At the moment, the bridge supports three bridging modes:

  • bridge only into manually created portal rooms
  • bridge everything, and create portal rooms as needed on channel activity
  • bridge everything, and create portal rooms immediately

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.

ToxicFrog avatar Jun 23 '24 18:06 ToxicFrog

create-portal might work, not tested yet though

tulir avatar Jun 24 '24 19:06 tulir

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 avatar Jun 24 '24 19:06 ToxicFrog

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.

ToxicFrog avatar Jun 24 '24 22:06 ToxicFrog

Is this related to #96?

kpfleming avatar Jul 08 '24 21:07 kpfleming

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

ToxicFrog avatar Jul 10 '24 21:07 ToxicFrog