You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Discord API Get Guild endpoint supports a with_counts query parameter, which, when set to true, includes approximate_member_count and approximate_presence_count in the response.
Proposed Change
Create get_guild/2 to accept a with_counts option:
Nostrum.Api.get_guild(guild_id,with_counts: true)
This should translate to a request with ?with_counts=true appended to the API call.
The text was updated successfully, but these errors were encountered:
Summary
The Discord API Get Guild endpoint supports a
with_counts
query parameter, which, when set totrue
, includesapproximate_member_count
andapproximate_presence_count
in the response.Proposed Change
Create
get_guild/2
to accept awith_counts
option:This should translate to a request with
?with_counts=true
appended to the API call.The text was updated successfully, but these errors were encountered: