Server Statistics

Discord server activity statistics with Cakey Bot - Message and voice activity per member and channel, charts, busiest hours, activity roles and live counter channels.

Last updated Nov 4, 2026

Overview

Server statistics records how many messages each member sends in each channel and how long they spend in voice, and turns that into charts, rankings, a busiest hours heatmap, activity based roles and live numbers for counter channels.

Only counts are stored, never message content. Members can opt out of being counted individually everywhere with /serverstats privacy; their activity still adds up in the server and channel totals but cannot be traced back to them.

Free servers can look back up to 7 days, premium servers up to 30 days.

Setup

  1. Head over to Cakey Bot's Dashboard and select your server.
  2. From the left sidebar, pick "Server Stats".
  3. Open the "Tracking settings" tab and enable tracking. Activity is recorded from that moment on.

Dashboard Tabs

Every tab follows the range picked at the top: the last 24 hours, 7 days or 30 days. The raw counts for the range can be downloaded as CSV.

  • At a glance ~ Messages sent, hours in voice, active members, member count, joins and leaves, with message and voice charts over time.
  • Message activity ~ Messages by channel over time, and the busiest channels and members. Members are shown with their name and avatar.
  • Voice activity ~ Voice time by channel over time, and the channels and members with the most voice time.
  • Members and growth ~ Member count over time with joins and leaves per day.
  • Busiest hours ~ A heatmap of which hours of which weekdays the server is busiest, in UTC.
  • Activity roles ~ Roles handed out automatically from activity, see below.
  • Counter channels ~ The placeholders that put live activity numbers into statistic channel names and the stats message.
  • Tracking settings ~ Enable tracking, whether bots count, whether muted or deafened voice time and the AFK channel count, excluded channels, roles and members, and resetting one member or the whole server.

Member Count, Joins and Leaves

The member count is recorded about once an hour, so a server that has just been set up shows its first count within the hour. Joins and leaves are counted as they happen, and do not need Invite Tracking to be enabled.

This works the same on a custom bot. Days from before the bot started recording stay empty on the chart.

Activity Roles

A rule gives a role to the members whose activity matches it and removes it again when it no longer does. Each rule sets:

  • The role to hand out.
  • What is counted: message count or voice time.
  • How members are picked: everybody past a number, or only the highest placed.
  • The number to reach, or how many members to pick.
  • How many days of activity to look at.
  • Roles that never get this role. Members with any of these roles are not given the role, and lose it at the next update if they already have it.

The rules are worked out every 30 minutes at most; the interval is configurable.

Counter Channels and the Stats Message

Statistic channel names and the stats message accept activity placeholders alongside the usual server placeholders, so one name can read Messages this week: 1,204 | Top: Sylveon. See the server statistics placeholders for the list; each one takes an optional day window such as {messages:7d}.

Related Commands

Every command takes an optional range of a day, a week or a month. A month is premium only.

  • Shows how active this server has been.

    /serverstats server [range]
  • Shows how active you have been in this server.

    /serverstats me [range]
  • Shows how active a member has been in this server.

    /serverstats user <user> [range]
  • Shows how active a channel has been.

    /serverstats channel <channel> [range]
  • Ranks the most active members or channels.

    /serverstats top [kind] [range]
  • Draws a chart of this server's activity.

    /serverstats chart [kind] [range]
  • Opts you in or out of per-member statistics everywhere.

    /serverstats privacy