Draws a line chart image of messages per day across the whole server. The chart is titled "Messages per day" with the subtitle "Last N days", and three totals sit under it: Messages, Avg/day and Peak day. Days are cut at midnight in the timezone from the Analytics Settings page, which follows the server timezone unless you change it. The chart uses the colours chosen on the Card Designer page.
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."
- Bot accounts are never drawn on this chart, whatever the Ignore bots setting says.
- Messages in excluded channels, and in threads under them, are not recorded, so they never reach the chart.
- If the chart cannot be drawn, the private reply is "That chart is not available right now. Try again in a moment."
- /chart voice, /chart members, /chart channel and /chart member take the same
daysandpostoptions. /server shows the 30-day trend on one card, and the dashboard's Messages page covers message volume and trends.