matrix-org / matrix-appservice-discord

A bridge between Matrix and Discord.
Apache License 2.0
804 stars 152 forks source link

Provide a migration command #681

Open erkinalp opened 3 years ago

erkinalp commented 3 years ago

Allow community administrators to migrate a community from Discord to matrix wholesale.

Inputs: Discord guild ID, matrix space address, identity provider (a matrix identity server) Outputs: freshly created matrix rooms with all users invited according to permissions Steps of operation (the ordering is significant):

Option switches:

HansJK commented 3 years ago

We really need this!

Option switches +:

erkinalp commented 3 years ago

Choose not to prune users offline for 1 day, including those with roles. Choose not to delete roles.

No-delete would do the combination of both, in addition to not deleting the messages and channels.

erlend-sh commented 1 year ago

Some prior art: https://github.com/Linen-dev/linen.dev https://github.com/Linen-dev/linen.dev/tree/main/apps/web/services/discord