diff options
| author | Mei <[email protected]> | 2017-05-19 01:07:46 -0400 |
|---|---|---|
| committer | zeyla <[email protected]> | 2017-05-18 22:07:46 -0700 |
| commit | 302d771182308f907423ed73be9b736f268737fe (patch) | |
| tree | 9b76f26beaaea596488f8b3497e787c4852c1f69 /src/framework/create_command.rs | |
| parent | Fix call to VoiceManager.join in example 06 (diff) | |
| download | serenity-302d771182308f907423ed73be9b736f268737fe.tar.xz serenity-302d771182308f907423ed73be9b736f268737fe.zip | |
Add support for retrieving invites with counts
Previously retrieving an invite with the `?with_counts=true` wasn't possible.
Added support to `get_invite` for retrieving an invite with the counts, this requires the user to pass true to the function.
The counts include `approximate_presence_count` and `approximate_member_count` which have been added to the `Invite` stuct, as well as `text_channel_count` and `voice_channel_count` to the `InviteGuild` struct.
Diffstat (limited to 'src/framework/create_command.rs')
0 files changed, 0 insertions, 0 deletions