Sync
Este conteúdo não está disponível em sua língua ainda.
Creating a message sync
Section titled “Creating a message sync”Create a message sync between two channels in one or two directions. You can find a list of your syncs with /sync list.
direction requiredThe direction for the sync. Either “from” to sync messages from the other channel to yours, “to” to sync messages from yours to the other channel or “both” for both directions.
- Values
fromtoboth
channel requiredEither the channel id or mention of the other channel.
Creating a ban sync
Section titled “Creating a ban sync”Create a ban sync between two guilds in one or two directions. You can find a list of your syncs with /sync list.
direction requiredThe direction for the sync. Either “from” to sync bans from the other guild to yours, “to” to sync bans from yours to the other channel or “both” for both directions.
- Values
fromtoboth
guild-id requiredThe id of the other guild. You can find out how to get a guild id here.
sync_existing optionalWhether to carry the bans that already exist across when the sync is created, rather than only the ones made from now on. This is also what lets a sync catch up after an outage.
Unlike a message sync, which only ever applies from the moment you start it, a ban sync fills in the backlog by default.
- Default
true
Creating a role sync
Section titled “Creating a role sync”Create a role sync between two roles in one or two directions. This way all members that have role A will also get role B or vice versa. Role A has to be on the server where you run the command, role B can also be on a different server.
You can find a list of your syncs with /sync list.
role_a requiredThe id of role A. You can find out how to get a role id here.
direction requiredThe direction for the sync. Either “from” to sync assigned roles from role B to role A, “to” to sync assigned roles from role A to role B or “both” for both directions.
- Values
fromtoboth
server_b requiredThe id of the server that role B belongs to. You can find out how to get a guild id here.
role_b requiredThe id of role B. You can find out how to get a role id here.
Deleting a sync
Section titled “Deleting a sync”You can find a list of your syncs with /sync list.
sync-id requiredThe id of the sync you want to delete. You get this after creating a sync.
Listing your syncs
Section titled “Listing your syncs”Show the syncs you have running, with their ids.
page optionalWhich page of the list to show.
- Default
1