Dokumentation / Analytics / Befehle / /chart members
Info Server only

/chart members

Joins and leaves per day

Usage

Generated
/chart members [days] [post]
OptionTypErforderlichBeschreibung
days whole number Nein Time window
7 days14 days30 days90 days
post yes or no Nein Post the chart in this channel instead of only to you

Who can run it

Generated
Discord defaultEvery member
Command Access presetEveryone
Always allowedThe server owner and, by default, Administrators
Change itDashboard, Services, Analytics, Commands

Open to every member unless you lock it to roles or channels in Command Access. How Command Access works.

What the bot needs

Generated

Analytics is granted these permissions by the invite link. A command that finds one missing replies privately with what it could not do and changes nothing.

View ChannelSend MessagesEmbed LinksManage Roles

Verhalten

Checked against the code 2026-09-21

Draws a chart image of joins and leaves per day. Two lines share one scale: Joins in the first accent colour and Leaves in the second. Four totals sit under the chart: Joins, Leaves, Net (joins minus leaves, with a plus or minus sign) and Members now. The chart is titled "Joins and leaves per day" with the subtitle "Last N days". Days are cut at midnight in the timezone from the Analytics Settings page, which follows the server timezone unless you change it.

The days option offers 7, 14, 30 or 90 days. Leave it out and you get 30. The window never reaches past what the server keeps: on a server that keeps 30 days of data, a 90-day request draws 30 days and the reply says "Showing 30 days: this server keeps 30 days of Analytics data." The Data retention setting decides that limit.

The reply is private by default, so only you see the chart. Set post to yes to post the chart in the channel for everyone.

Good to know

  • Works in servers only, and only while Analytics is turned on there. If it is off, the private reply is "Analytics not enabled here. Use /yourbot to see how to turn it on."
  • Members now comes from the member list the bot keeps in sync with Discord.
  • The setup wizard's history import records a join for every current member on the day they joined the server, so joins from before Analytics was turned on can appear. Leaves from before then cannot.
  • If the chart cannot be drawn, the private reply is "That chart is not available right now. Try again in a moment."
  • /server shows joins, leaves and net for the last 7 days on one card. The dashboard also has a Members page.
YourBot docs Reference tables are generated from the code that is running. Ask in Discord Suggest a correction