๐Ÿ”—Link/Unlink Players

To run correctly, the bot needs to know which discord users own each CoC account of your clan. For this, you need to run the /link command

Inside this slash command there are 4 fields:

player

This corresponds to the tag of the player you want to linked. You can find this tag in their profile in game. It should look like that : #PVJ98GL.

user

This is the discord user you want to link the CoC account with. If you run the command for yourself, you do not need to use this option. It is useful only if you want to link an account to someone else.

api_token

This is to prove that the account is yours. You can find this in the parameters of Clash Of Clans.

The API token is required only if set by the clan staff (see Setup a server).

greet

This si to send a Welcome Messagesto the user once linked.

Using the /link command might be not easy for everyone. I suggest you to use a panel with a link button so your server members can link themselves more easily. Please take a look at Buttons

To unlink a player, you just need to run the /unlink command with the player tag of the user you want to unlink.

Show linked player

Use /discord-links {clan} to display a list of members of a clan with their discord username.

Last updated