Command guide

Everything the bot can do, how to use it, and which commands need the Manage Server permission to set up.

DiscordJoin our server to use the bot.

Getting started

1
Invite the bot and make sure it can see the channels you want to use: View Channel, Send Messages, Embed Links and Attach Files.
2
Look things up instantly. Commands marked Everyone work for any member, no setup needed.
3
Set up automation once. Commands marked Requires Manage Server (tracking, boards and alerts) can only be run by members with the Manage Server permission. After that the bot posts reports on its own.

Every command has more options than shown in Discord's first autocomplete; type the command and Discord lists each option with a description.

Most used

/legendsday/townhallstats/legendboard/rankedreport/wararmies/trackwar/trackhits/orewars/cwlsignup

🏆 Legend & Ranked Stats

Look up players, leaderboards and town hall statistics. Open to everyone.

/legendsdayEveryoneBuilds an image of a player's Legend Day: every attack and defense, trophies gained, and how their opponents performed.

Builds an image of a player's Legend Day: every attack and defense, trophies gained, and how their opponents performed. Players outside Legend I get a weekly ranked image instead.

/legendsday player:<name or tag> [week] [view]

Options

player
Required. Start typing a name or tag and pick from the list (it searches every Legend player the bot knows), or paste any #tag.
week
Ranked players only: this week (default) or last week.
view
Day / week image (default), Town Hall stats, or Legend Season stats.

Good to know

Buttons under a Legend I image: Previous Day, Previous Week (Ranked, when the player has ranked data), Town Hall Stats and Season Stats.
Buttons under a ranked weekly image: Predict Auto Defs, Predict Outcome, Detailed Stats (group leaderboards plus the most used armies and openers) and Town Hall Stats.
If the Clash of Clans API is down, the bot says so and shows how long it has been down.

Example /legendsday player:#GPP0V0Q92

/townhallstatsEveryoneRanked statistics image for one town hall level: averages, top players, and the most successful armies and openers.

Ranked statistics image for one town hall level: averages, top players, and the most successful armies and openers.

/townhallstats townhall:<level> [week]

Options

townhall
Required. Town hall level (TH7 to TH19).
week
Current week (default) or previous week.

Good to know

Data is published once per ranked week, so a brand-new week may take a little while to appear.

Example /townhallstats townhall:16

/legendboardEveryoneThe unofficial Legend I leaderboard, which goes well beyond the official top 200.

The unofficial Legend I leaderboard, which goes well beyond the official top 200.

/legendboard [page] [search] [show_tags] [end_of_day]

Options

page
Page number, 50 players per page.
search
A player tag or name. Jumps straight to the page they are on.
show_tags
Show player tags on every row (hidden by default).
end_of_day
Show the board as it stood at the latest 05:00 UTC reset instead of live.

Example /legendboard search:Somebody

/rankedreportEveryoneGenerates a clan's predicted ranked results right now: each member's predicted placement and trophies, and whether they promote, stay or demote.

Generates a clan's predicted ranked results right now: each member's predicted placement and trophies, and whether they promote, stay or demote.

/rankedreport [clan] [week] [complete_offenses]

Options

clan
Clan tag. Optional if your server tracks just one clan.
week
Live (current groups) or the last ended week.
complete_offenses
Live only: also predict everyone's missing attacks (by default only missing defenses are predicted).

Good to know

A report makes many API calls, so each person has a 30 second cooldown and only one report per clan can run at a time.

Example /rankedreport clan:#2PP week:live

/trackrankedRequires Manage ServerAutomatically posts a clan's predicted ranked results every week, shortly after the ranked week ends (Monday 05:00 UTC).

Automatically posts a clan's predicted ranked results every week, shortly after the ranked week ends (Monday 05:00 UTC).

/trackranked add | remove | list | now

Subcommands

/trackranked add clan:<tag> [channel]
Start tracking a clan. Results go to the chosen channel (default: the current one).
/trackranked remove clan:<tag>
Stop tracking a clan.
/trackranked list
Show the clans tracked in this server and when results are next posted.
/trackranked now clan:<tag> [complete_offenses]
Preview the results immediately using everyone's current groups.

Good to know

Server only. The bot needs View Channel, Send Messages and Attach Files in the results channel.

🔒 Members need the Manage Server permission to run this command.

Example /trackranked add clan:#2PP channel:#ranked-results

⚔️ War Scouting & Analysis

Find out what a clan or player actually attacks with. Open to everyone.

/wararmiesEveryoneThe main scouting tool. Reads a clan's current war and shows which strategies, openers, troops, spells, pets, equipment and siege machines its roster really attacks with.

The main scouting tool. Reads a clan's current war and shows which strategies, openers, troops, spells, pets, equipment and siege machines its roster really attacks with.

/wararmies [clantag] [searchtag] [cwl] [details] [image] [limit]

Options

clantag
The clan to scout (its war log may be private). Optional after first use: your last tag is reused.
searchtag
A public war log clan currently fighting the target. Used as a fallback when the target's own log is private.
cwl
Prioritise Clan War League and cover all 7 days.
details
Adds a full decoded breakdown (troops, spells, siege, hero equipment) for every player.
image
Produce report images instead of a text summary.
limit
Maximum positions to show (default: war size, max 50).

Good to know

image:true in a regular war posts three images in one message: the opponent scouting report, a Clan Castle fill guide that counters the opponent, and a self war report of your own roster.
cwl:true image:true produces a report per CWL day, plus a separate Clan Castle fill guide per day.
Works best on clans with a public war log.

Example /wararmies clantag:#2PP image:true

/armyEveryoneA player's recent attack armies, decoded from their battle log.

A player's recent attack armies, decoded from their battle log.

/army [tag] [attacks]

Options

tag
Player tag. Optional after first use.
attacks
How many recent attacks to show (default 3, max 25).

Example /army tag:#GPP0V0Q92 attacks:5

/clanarmiesEveryoneArmy loadouts for every member of a clan at once.

Army loadouts for every member of a clan at once. Good for a general meta check outside of an active war.

/clanarmies [clantag] [limit] [detailed]

Options

clantag
Clan tag. Optional after first use.
limit
Members to show (default 15, max 50).
detailed
Skip the image and send a full decoded-army breakdown for every player.

Example /clanarmies clantag:#2PP limit:25

/profileEveryoneA player's full profile: heroes, troops, spells and overall stats.

A player's full profile: heroes, troops, spells and overall stats.

/profile tag:<player tag>

Options

tag
Required. Player tag.

Example /profile tag:#GPP0V0Q92

⏱️ Automatic Tracking

Set these up once and the bot posts reports for you. These need the Manage Server permission.

/trackwarRequires Manage ServerSet and forget. Whenever a tracked clan enters war preparation or battle day, the bot posts an opponent scouting report and a Clan Castle fill guide.

Set and forget. Whenever a tracked clan enters war preparation or battle day, the bot posts an opponent scouting report and a Clan Castle fill guide. After the war it posts the result: stars, destruction % and average attack time. It handles CWL too, with each active round reported separately.

/trackwar start | modify | stop | list | check | searchpanel

Subcommands

/trackwar start [clantag] [channel] [searchtag] [esports]
Start tracking a clan. Channel defaults to the current one; searchtag is a public war log fallback clan; esports polls every minute for close monitoring during a live event.
/trackwar modify [clantag] [channel] [searchtag] [esports]
Change a tracked clan's settings. Pass only what you want to change.
/trackwar stop [clantag]
Stop tracking a clan.
/trackwar list
Show every clan tracked in this server with its channel and settings.
/trackwar check [clantag]
Check a clan's war status right now with a step-by-step diagnostic. Useful if a report did not appear when expected.
/trackwar searchpanel enable | disable [channel]
Post (or remove) a search panel that stays at the bottom of a channel so past reports can be found by name.

Good to know

During battle day a live score embed updates automatically and is replaced by the final score when the war ends.
You (and the bot) must be able to send messages in the target channel.

🔒 Members need the Manage Server permission to run this command.

Example /trackwar start clantag:#2PP channel:#war-reports

/trackhitsRequires Manage ServerPosts an alert when a tracked Legend I player attacks, followed by a Legend Day summary at the end of the day.

Posts an alert when a tracked Legend I player attacks, followed by a Legend Day summary at the end of the day. Hits are counted toward the Legend Day they happened in (the day resets at 05:00 UTC), and the bot tells the server when the Clash of Clans API goes down or comes back.

/trackhits start | stop | list | results | check

Subcommands

/trackhits start playertag:<tag> [channel] [mode]
Start tracking a player. Mode: Every attack (full report on each hit) or Start alert + end-of-day summary (one embed with live progress).
/trackhits stop playertag:<tag>
Stop tracking a player.
/trackhits list
List the players tracked in this server.
/trackhits results [channel] [off]
Post each tracked player's finished Legend Day image to one channel once their attacks are done. Run with no channel to see the current one, or off:true to turn it off.
/trackhits check playertag:<tag>
Check a tracked player right now (diagnostic).

Good to know

You (and the bot) must be able to send messages in the target channel.

🔒 Members need the Manage Server permission to run this command.

Example /trackhits start playertag:#GPP0V0Q92 mode:Start alert + end-of-day summary

/daycardRequires Manage ServerAutomatically posts the daily Legend Day recap image (army of the day, fastest triple, perfect days and more) after each reset.

Automatically posts the daily Legend Day recap image (army of the day, fastest triple, perfect days and more) after each reset.

/daycard add | remove | list | post

Subcommands

/daycard add channel1:<channel> [channel2..5]
Choose the channels that receive the recap (run again to add more).
/daycard remove channel1:<channel> [...]
Stop posting in those channels.
/daycard list
Show this server's channels.
/daycard post [channel]
Post the newest recap right now. Does not affect the daily auto-post.

Good to know

Server only. The bot needs View Channel, Send Messages, Embed Links and Attach Files in each channel.

🔒 Members need the Manage Server permission to run this command.

Example /daycard add channel1:#legend-recaps

/apialertRequires Manage ServerPosts a live alert in your chosen channels whenever the Clash of Clans API is down.

Posts a live alert in your chosen channels whenever the Clash of Clans API is down. The alert stays as the last message, keeps updating the down time, and turns into a back-online notice with the total outage when service returns.

/apialert set | add | remove | list

Subcommands

/apialert set
Pick all alert channels at once from a multi-select menu (select none to turn alerts off).
/apialert add [channel]
Add one alert channel.
/apialert remove [channel]
Remove one alert channel.
/apialert list
Show the alert channels and the current API status.

Good to know

The bot needs View Channel, Send Messages and Embed Links in each channel.

🔒 Members need the Manage Server permission to run this command.

Example /apialert add channel:#bot-status

📋 Clan Boards & Events

Interactive boards you post once; members use the buttons. Posting a board needs Manage Server.

/wartrackerRequires Manage ServerPosts a live attack tracker board: every active war across your clans, with who still owes attacks, grouped by how much time is left (30 minutes or less, under 3 hours, under 6 hours).

Posts a live attack tracker board: every active war across your clans, with who still owes attacks, grouped by how much time is left (30 minutes or less, under 3 hours, under 6 hours).

/wartracker post

Good to know

Buttons: Refresh, Add Clan, Remove Clan, Manage Access (let specific people manage the board without Manage Server) and Link Account (members get a DM reminder shortly before war ends).
You can post several boards, each with its own clan list.

🔒 Members need the Manage Server permission to run this command.

Example /wartracker post

/orewarsRequires Manage ServerEvent board for Ore Wars: tracks active wars and unfinished attacks, lets you schedule upcoming wars, and posts reminders to a channel.

Event board for Ore Wars: tracks active wars and unfinished attacks, lets you schedule upcoming wars, and posts reminders to a channel.

/orewars post

Good to know

Buttons: Refresh, Start Reminder (DM before a scheduled war starts), Link Account (DM before war ends) and Manage.
Manage (Manage Server or granted managers): add or remove clans, remove a scheduled war, manage access, choose the reminder channel, tune reminder timing, or post a reminder now.
Running the command again re-posts the board where you are and carries over its clans and schedule.

🔒 Members need the Manage Server permission to run this command.

Example /orewars post

/cwlsignupRequires Manage ServerPosts a Clan War League sign-up sheet. Members sign up with their accounts, town hall, preferred clan and the days they cannot play.

Posts a Clan War League sign-up sheet. Members sign up with their accounts, town hall, preferred clan and the days they cannot play.

/cwlsignup post [clans]

Options

clans
Optional comma-separated clan names for the sheet, for example "Clan A, Clan B, Clan C".

Good to know

Buttons: Sign Up, Edit / Remove My Sign-Up, View Sign-Ups and Manage.
Manage: Add Clans (Manage Server), Move Player (the person who posted the sheet) and Publish.
Run it again for each CWL season; every sheet keeps its own entries.

🔒 Members need the Manage Server permission to run this command.

Example /cwlsignup post clans:Clan A, Clan B

/esportsboardRequires Manage ServerPosts a live bulletin board of every esports-format match currently active among the clans tracked with /trackwar.

Posts a live bulletin board of every esports-format match currently active among the clans tracked with /trackwar.

/esportsboard post

Good to know

It has no clan list of its own: add or remove clans with /trackwar start and /trackwar stop.

🔒 Members need the Manage Server permission to run this command.

Example /esportsboard post

📖 Help

/helpEveryoneShows this guide inside Discord, with a menu to browse each category.

Shows this guide inside Discord, with a menu to browse each category.

/help

Example /help

No commands match your search.

Tips

Clan and player tags can be typed with or without the leading #.
Several commands remember the last tag you used, so you can leave the tag blank on repeat lookups.
If a clan's war log is private, use the searchtag option with any public war log clan currently fighting them.
Clan Castle fill guides counter the opponent's mirror attacker when they tend to attack mirrors; otherwise they pick from the clan's top three strategies.
The Clash of Clans API occasionally goes down. Reports resume automatically once it is back.