Activity & Graphs
These commands turn ClashDuke’s tracked snapshots into activity insights, trend charts, and historical records. They all read data the tracker collects over time, so the more history a clan or player has, the richer the output.
/activity
Section titled “/activity”Clan activity — over time, by hour, or per member.
| Option | Type | Required | Notes |
|---|---|---|---|
tag |
string (autocomplete) | No | Clan tag, or pick a linked clan. Defaults to the server’s first linked clan. |
view |
string (choice) | No | Over Time, By Hour, or Members (default Over Time). |
days |
integer (choice) | No | 1, 3, 7, 15, or 30 (default 3). |
sort_by |
string (choice) | No | Members view: Activity, Last Online, or Name (default Activity). |
townhall |
integer | No | Members view: only this Town Hall (2–20). |
limit |
integer | No | Members view: show only the top N (1–50). |
- Over Time — a line chart of distinct active members per hour (≤3 days) or per day, over the chosen window.
- By Hour — an hour-of-day activity chart with the peak hour highlighted.
- Members — a per-member table (activity count, last-24h count, and last-seen), sortable and filterable.
/activity tag:#2PP view:By Hour days:7/activity tag:#2PP sort_by:Last Online townhall:16/graph
Section titled “/graph”Trend graphs for clans and players over time. There are two families of subcommands: quick per-day clan lines, and the richer charting suite.
Per-day clan lines — trophies / donations / received / active
| Subcommand | Option | Type | Required | Notes |
|---|---|---|---|---|
trophies |
tag |
string (autocomplete) | No | Clan tag, or pick a linked clan. |
days |
integer | No | Days to plot (7–90, default 30). | |
donations |
tag / days |
— | No | Same options as above. |
received |
tag / days |
— | No | Same options as above. |
active |
tag / days |
— | No | Same options as above. |
Each renders one clan’s daily total (or distinct active members for
active) as a line chart.
over-time — season line for a player or clans
| Option | Type | Required | Notes |
|---|---|---|---|
attribute |
string (choice) | Yes | Trophies, Donations, Donations Received, Net Donations, or Active Members. |
player |
string (autocomplete) | No | Graph a single player instead of clans. |
clans |
string (autocomplete) | No | Clan tags/aliases (space/comma separated; default: all linked). |
months |
integer | No | Months of history (1–12, default 6). |
Plots a per-season (monthly) line. Active Members is a clan-only
attribute — it can’t be graphed for a single player.
month — bar chart comparing clans for a month
| Option | Type | Required | Notes |
|---|---|---|---|
attribute |
string (choice) | Yes | Donations, Donations Received, Net Donations, or Active Members. |
clans |
string (autocomplete) | No | Clan tags/aliases (default: all linked). |
month |
string | No | Month as YYYY-MM (default: current). |
Needs at least 2 clans to compare.
daily — per-player daily line over past seasons
| Option | Type | Required | Notes |
|---|---|---|---|
attribute |
string (choice) | Yes | Trophies, Donations, Donations Received, or Net Donations. |
player |
string (autocomplete) | No | Player tag, or pick a linked account. |
seasons |
integer | No | Past seasons to include (1–6, default 1). |
/graph over-time attribute:Trophies clans:all months:6/graph month attribute:Donations month:2026-06/graph daily attribute:Net Donations player:#2PP0JCVL seasons:2/history
Section titled “/history”The historical records the tracker has kept — pick which history to view, then scope it to a player, a linked Discord user, or a whole clan (family-wide).
| Option | Type | Required | Notes |
|---|---|---|---|
option |
string (choice) | Yes | Which history — see the list below. |
player |
string (autocomplete) | No | Player tag, or pick a linked account. |
user |
user | No | A linked Discord user. |
clan |
string (autocomplete) | No | A clan (family-wide history / leaderboard). |
limit |
integer | No | Max rows (1–50, default 20). |
option choices: Clan Games · Capital Raids · Capital Contribution ·
CWL Attacks · War Attacks · Donations · Attacks (wins) · Loot · Join / Leave ·
Legend Attacks · EOS Trophies.
Scope resolves as: an explicit player/user (or no clan) targets that
account; otherwise a clan gives family-wide history. If nothing is provided,
it uses your own main linked account. Legend Attacks is a player-only history.
The two Clan Capital modes — Capital Raids (raid-weekend loot) and Capital
Contribution (capital gold donated per week) — read the same tracked store as
every other mode and honour the same scope and limit rules.
/history option:Donations player:#2PP0JCVL/history option:Capital Raids clan:#2PP limit:30