Sync
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Creating a message sync
Section titled “Creating a message sync”Create a message sync between two channels, in one direction or both. You can find a list of your syncs with /sync list.
Run the command in one of the two channels.
direction requiredThe direction for the sync. Use “from” to sync messages from the other channel to this one, “to” to sync messages from this channel to the other one, or “both ways” for both.
- Values
fromtoboth ways
channel requiredThe other channel, as a channel id or a mention. It has to be a text or announcement channel.
include optionalWhich events to sync. New messages are always synced. The choices add edits, deletes, both, or both plus threads.
- Default
Send, edit, delete, and threads
Creating a ban sync
Section titled “Creating a ban sync”Create a ban sync between two servers, in one direction or both. You can find a list of your syncs with /sync list.
direction requiredThe direction for the sync. Use “from” to sync bans from the other server to this one, “to” to sync bans from this server to the other one, or “both ways” for both.
- Values
fromtoboth ways
server_id requiredThe id of the other server. Discord explains how to find a server id.
sync_existing optionalWhether to also sync the bans that already exist when you create the sync, and not only new ones. This is also what lets a sync catch up after an outage.
A message sync only covers messages sent after you start it. A ban sync fills in the existing bans by default.
- Default
true
Creating a role sync
Section titled “Creating a role sync”Create a role sync between two roles, in one direction or both. Members who have role A then also get role B, or the other way around. Role A has to be on the server where you run the command. Role B can be on the same server or a different one.
You can find a list of your syncs with /sync list.
role_a requiredRole A, picked from the roles on this server.
direction requiredThe direction for the sync. Use “from” to sync role assignments from role B to role A, “to” to sync them from role A to role B, or “both ways” for both.
- Values
fromtoboth ways
server_b requiredThe id of the server that role B belongs to. Discord explains how to find a server id.
role_b requiredRole B, as a role id or a mention. Discord explains how to find a role id.
include optionalWhich events to sync. You can pick only adds, only removals, adds and removals, adds and removals plus member joins, adds and removals plus member leaves, or all of the above.
- Default
All of the above
sync_existing optionalWhether to also sync the role assignments that already exist when you create the sync, and not only new ones. This is also what lets a sync catch up after an outage.
- Default
true
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. The bot gives it to you when you create the 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