Pular para o conteúdo
Xenon

Sync

Este conteúdo não está disponível em sua língua ainda.

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.

/sync messages direction channel include
direction required

The 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
from to both ways
channel required

The other channel, as a channel id or a mention. It has to be a text or announcement channel.

include optional

Which events to sync. New messages are always synced. The choices add edits, deletes, both, or both plus threads.

Default
Send, edit, delete, and threads

Create a ban sync between two servers, in one direction or both. You can find a list of your syncs with /sync list.

/sync bans direction server_id sync_existing
direction required

The 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
from to both ways
server_id required

The id of the other server. Discord explains how to find a server id.

sync_existing optional

Whether 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

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.

/sync role role_a direction server_b role_b include sync_existing
role_a required

Role A, picked from the roles on this server.

direction required

The 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
from to both ways
server_b required

The id of the server that role B belongs to. Discord explains how to find a server id.

role_b required

Role B, as a role id or a mention. Discord explains how to find a role id.

include optional

Which 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 optional

Whether 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

You can find a list of your syncs with /sync list.

/sync delete sync_id
sync_id required

The id of the sync you want to delete. The bot gives it to you when you create the sync.

Show the syncs you have running, with their ids.

/sync list page
page optional

Which page of the list to show.

Default
1