Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command to create new portal room for specific channel #150

Open
ToxicFrog opened this issue Jun 23, 2024 · 5 comments
Open

Command to create new portal room for specific channel #150

ToxicFrog opened this issue Jun 23, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@ToxicFrog
Copy link

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 ToxicFrog added the enhancement New feature or request label Jun 23, 2024
@tulir tulir changed the title "create portals for a subset of channels" bridge mode Command to create new portal room for specific channel Jun 23, 2024
@tulir
Copy link
Member

tulir commented Jun 24, 2024

create-portal might work, not tested yet though

@ToxicFrog
Copy link
Author

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
Copy link
Author

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
Copy link

Is this related to #96?

@ToxicFrog
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants