War & CWL
ClashDuke turns Clash of Clans wars into live, interactive Discord embeds. Pull up the current war, browse a past war, check who still has attacks left, dig into attack/defense rates, and follow a full Clan War League season round by round.
Show a clan’s current war, or look up a stored past war.
| Option | Type | Required | Description |
|---|---|---|---|
tag |
string (autocomplete) | No | Clan tag, or pick a linked clan |
user |
user | No | A linked member — uses their current clan |
war_id |
string (autocomplete) | No | A past war by id, or last for the most recent finished war |
season |
string (autocomplete) | No | Jump to a season’s last war, as YYYY-MM |
The reply opens on the Overview. Use the Change view dropdown underneath to switch between eight views without re-running the command, plus a War timeline link out to your dashboard and a Refresh button.
| View | Shows |
|---|---|
| Overview | War summary, score, timing, and the most recent attacks |
| Attacks | Your clan’s attacks with stars and destruction |
| Defenses | Defenses your members have faced |
| Group War Stars | Star totals grouped for a quick read |
| Open Bases | Enemy bases not yet three-starred, annotated with any /caller assignments |
| Lineup | Both clans by map position, with home-village hero totals |
| Opponent | The opponent clan’s full profile |
| Opponent Defenses | The opponent’s defensive results |
/war tag:#2PP/war war_id:last/war season:2026-06/war user:@Chief/remaining
Section titled “/remaining”Members who still have attacks left — war or capital raids.
| Option | Type | Required | Description |
|---|---|---|---|
tag |
string (autocomplete) | No | Clan tag, or pick a linked clan |
user |
user | No | A linked member — uses their current clan |
type |
choice | No | War attacks (default) or Capital raids |
/remaining tag:#2PP/remaining tag:#2PP type:Capital raids/lineup
Section titled “/lineup”The war roster of both clans, ordered by map position.
| Option | Type | Required | Description |
|---|---|---|---|
tag |
string (autocomplete) | No | Clan tag, or pick a linked clan |
user |
user | No | A linked member — uses their current clan |
/lineup tag:#2PP/stats
Section titled “/stats”Per-member war attack and defense rate stats, computed from stored war history.
Per-member attack success rates.
Per-member defense — stars conceded.
Both subcommands share the same options:
| Option | Type | Required | Description |
|---|---|---|---|
tag |
string (autocomplete) | No | Clan tag, or pick a linked clan |
days |
integer (1–180) | No | Days to analyse (default 30) |
war_type |
choice | No | Regular (default), CWL, or All |
attempt |
choice | No | Fresh (first hit) or Cleanup |
compare |
string | No | Town Hall matchup, e.g. 13v14 |
min_stars |
integer (1–3) | No | Success threshold (default 3) |
user |
user | No | A linked member — uses their current clan |
/stats attacks tag:#2PP days:60 war_type:All/stats defense tag:#2PP compare:13v14Everything for a Clan War League season. Every subcommand accepts an optional
season (as YYYY-MM) that defaults to the current season, plus the usual tag
and user clan selectors.
| Subcommand | Purpose | Extra options |
|---|---|---|
group |
CWL group overview | — |
stats |
CWL standings across all rounds (with a chart) | — |
lineup |
A CWL round line-up for both clans | round (1–7) |
attacks |
A CWL round’s attacks, plus an “all missed” view | round (1–7) |
roster |
CWL roster composition | — |
members |
CWL roster participants | — |
stars |
Per-member CWL star leaderboard | view: Total stars (default) or Gained (offense − defense) |
round |
A specific CWL round war | round (1–7) |
Shared options on every subcommand:
| Option | Type | Required | Description |
|---|---|---|---|
tag |
string (autocomplete) | No | Clan tag, or pick a linked clan |
season |
string | No | Archived season as YYYY-MM (default: current) |
user |
user | No | A linked member — uses their current clan |
The round-based views (lineup, attacks, round) come with a round picker
dropdown so you can jump between rounds; if you don’t set round, ClashDuke shows the
in-progress round, or the latest one. The stars view has a Total / Gained
toggle, and attacks can switch between a single round’s attacks and an
All missed attacks rollup for the whole season.
/cwl group tag:#2PP/cwl stats tag:#2PP/cwl round tag:#2PP round:3/cwl stars tag:#2PP view:Gained (offense − defense)/cwl attacks tag:#2PP season:2026-05