Allow bots to access server insights #5332
Unanswered
RealAlphabet
asked this question in
API Feature Requests & Ideas
Replies: 1 comment 2 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Allow bots to access the "insights" of the server from the API.
Why This is Needed
The server insights are really handy even if it misses some things. However, for those who manage several servers, it becomes annoying to have to download them in CSV format to reuse them in software or scripts.
If bots were able to retrieve this information, I'm sure it would be possible to automatically import the data into online tools or other software.
I can imagine deep learning models (AI) that could estimate the cause of a drop in server retention due to a change on the server.
Discord audit logs are also amazing but lack simple information which is a shame. But understandable from the point of view of the amount of data involved.
With a new endpoint for accessing insights (eventually via OAuth2).
Alternatives Considered
Self-botting. Just kidding, but imagine it.
How would it work
/guilds/{guild.id}/analytics
that requireVIEW_GUILD_INSIGHTS
permission and return insights data.guilds.analytics
which allows the application to access the insights of the servers that the user can access. (requires theguilds
scope)Beta Was this translation helpful? Give feedback.
All reactions