A bot that displays statistical information about a Discord server is a powerful tool that is useful for community management. By analyzing member participation status, activity, frequency of channel usage, etc., you can promote server growth and contribute to building a better community.

However, because statistical bots handle information related to user privacy, Discord has established special policies. When developing and operating a statistical bot, you must comply with the following policies and give utmost consideration to protecting user privacy.

What is a Statistical Bot?

A statistical bot is a bot that collects and displays various statistical information about a Discord server.

Main Functions

  • Display of changes in the number of members
  • Display of activity by channel
  • Ranking of activity by member
  • Popular game rankings
  • Voice channel usage status
  • Frequency of message sending

Authentication of Statistical Bots

To publish a statistical bot on Discord, it must be authenticated by Discord. To be authenticated, you must meet the following conditions:

  • Compliance with Discord Developer Policy: You must comply with all the rules described in Discord’s Developer Policy.
  • Compliance with Statistical Bot Policy: You must comply with the statistical bot policy described in this article.
  • User Privacy Protection: You must take appropriate measures to protect user privacy.
  • Data Accuracy: You must provide accurate statistical data.
  • Bot Stability: You must provide a bot that operates stably.

Access to Guild Data

Guild data is anonymous aggregate data about the entire guild or channels within the guild.

This includes:

  • Growth/member flowcharts
  • Individual channel activity
  • Voice/message rates
  • “Activity” data such as popular games

Policies Regarding Access to Guild Data:

  • Private by Default: Data and dashboards must be private by default. Access should be restricted to those who are not guild members.
  • Public Settings: Server owners and administrators can have the authority to publish guild data. However, the data published must be aggregated, anonymous data.

Access to Member Data

Member data is non-anonymous data about guild members.

This includes:

  • Leaderboards
  • User activity over time
  • User message rate/voice activity over time

Policies Regarding Access to Member Data:

  • Private by Default: Data and dashboards must be private by default. Access should be restricted to those who are not guild members.
  • Publication of Global Data: Global aggregate member data (such as global EXP/game score rankings) can be published.
  • Non-Publication of Server-Specific Data: Server-specific aggregate member data (such as guild-specific voice, message, and EXP leaderboards) cannot be published.
  • Restrictions on Access to Time-Series Data: Time-series member data (data that displays individual user activity over time) must always be kept private to the guild, and access must be restricted to the guild owner or members with the “Administrator”, “Manage Server”, or “View Server Insights” permissions.
  • Opt-Out: Users must be provided with an easy way to opt out of the collection of member data via a bot command. Opting out via a web dashboard is insufficient.

Frequently Asked Questions

Q. Can I monetize a statistical bot?

A. Yes, you can. However, you must comply with Discord’s monetization policy.

Q. Are there any resources that can help with developing a statistical bot?

A. You can refer to API documentation and sample code in the Discord Developer Portal and on the Discord Developer Server.

Q. My statistical bot failed to be authenticated.

A. Check that you are complying with Discord’s policies, and ensure the accuracy of the data and the stability of the bot.

Statistical bots are powerful tools that are useful for community management, but it is important to