We're currently working on a v2 of the bot, API, tracking & app to provide better user experience and stability. Stay tuned!

🔘Buttons

The goal

This command provides a way to add one or more buttons under an embeds. It can also allows you to send a specific embed when people join one of your clan, so you don't have to do it yourself ! There is currently 5 buttons available and you can select up to 4 buttons.

If you don't know what is an embed and how to create one with ClashKing, check Embeds

The command

The command is /buttons

Before running that command, you need to create an Embeds

The parameters

Required

No parameters is required.

Optionnal

  • embed : Choose the Embeds you want to add buttons to. If you don't select an embed, an embed will be created depending on what buttons you chose.

Embed by default for Link account buttons
  • button_color : Choose between blue, green, grey and red. Default color is grey.

  • on_welcome_channel : you can choose a channel on which the embed (with buttons or not) will be sent to every time someone join your Discord server. Only one embed can be set, so if you set a new one, it will replace the current one.

Example of embeds sent every time a user join the discord server

Buttons type

Once you sent the command, you will be able to choose up to 4 buttons between those 5.

This button allows you to link a CoC account to your discord account (see Link Players)

Link account pop up

This button displays a tutorial to show how to link a player and how to find the API token.

Refresh roles

The title is pretty clear, it allows you to refresh your roles if the bot didn't gave you a new role (yet).

To-Do List

Shows what you have to do today on all your accounts. This includes Legends hits, Raids hits, Clan Games points, Season Pass points, Capital donations and Inactivity.

Roster

Shows all the rosters your accounts are currently in.

Once your done

Once you selected the buttons, if you didn't set on_welcome_channel, the embed will automatically be sent to the channel you run the command.

Was this helpful?