Get online members on a Guild #1610
-
|
hey I was wondering if it's possible to get how many members that are online `func (d *DiscordService) GetServerStats(serverID string) (*models.ServerStats, error) { }` thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
MagnusHJensen
Oct 11, 2025
Replies: 1 comment
-
|
Is the It will be returned if you call You can read more about the field on Discord docs: https://discord.com/developers/docs/resources/guild#:~:text=approximate_presence_count%3F |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
realsouji
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@realsouji
Is the
ApproximatePresenceCounton theGuildstruct not sufficient?It will be returned if you call
GuildWithCountsYou can read more about the field on Discord docs: https://discord.com/developers/docs/resources/guild#:~:text=approximate_presence_count%3F