Rapptz
763d46cd7a
Version bump to v1.5.1
5 years ago
Rapptz
0be2d37e7a
Add changelog for v1.5.1
5 years ago
Rapptz
707cb47438
Fix error when querying members from the gateway.
I accidentally made this return True instead of the actual member list
5 years ago
Rapptz
1a6295dffb
Allow concurrent calls to guild.chunk()
This allows people who write guild.chunk() calls in highly concurrent
places such as on_message or checks to not spam the gateway with an
actual request and instead waits for the pre-existing request to finish
5 years ago
Florian Spieß
ae65d75f96
Load member from guild_member_update dispatch
5 years ago
Rapptz
3daaadafdd
[commands] Lazily fetch members in discord.Member converters
This makes commands taking members mostly work transparently without
much effort from the user.
5 years ago
Rapptz
61e25cb090
Ensure our own member is never evicted from the cache in any policy.
5 years ago
Rapptz
2509ca6a82
Add internal method to check if the websocket is currently ratelimited
5 years ago
Rapptz
b07d474bd6
Fix attribute errors when timing out during chunking start-up
5 years ago
Rapptz
21ed9f61d2
Fix disconnect when trying to move to another voice channel.
Not overly proud of this implementation but this allows the library
to differentiate between a 4014 that means "move to another channel" or
"move nowhere". Sometimes the VOICE_STATE_UPDATE comes before the
actual websocket disconnect so special care had to be taken in that
case.
Fix #5904
5 years ago
Rapptz
b91ddc6f4e
Mark intent alias flags as actual aliases to skip them in __iter__
Fix #5945
5 years ago
Rapptz
1c03a4aac9
Evict keys when they're set to None in PermissionOverwrite
Fixes #5929
5 years ago
Rapptz
b9e1bdf87e
Properly insert at the end if position is not found when moving.
Fixes #5923
5 years ago
Rapptz
d9acc2f491
Escape multi-line quotes properly
Fix #5897
5 years ago
Josh
62040de6a7
Fix Colour.dark_theme docstring.
5 years ago
numbermaniac
d6df55afe2
logging.rst: Fix some typos and grammar errors
5 years ago
PythonCoderAS
a40e20fa38
Use Hashable mixin for Message
5 years ago
Eric Chan
b96ed43082
Fix typo in event reference
5 years ago
ChristopherJHart
f308f34db1
Add note pointing to discord.AllowedMentions
5 years ago
Rapptz
9d183ecc30
Add intents to the issue template
5 years ago
Rapptz
022b5f7902
Update intent documentation to use defaults
5 years ago
Xua
1066f42f1f
Add intents to event reference
5 years ago
Zomatree
4bce41f7aa
Add intents to examples
5 years ago
Rapptz
1518790c87
Some minor documentation fixes.
Make examples all mention where to put it for the unaware.
5 years ago
Rapptz
6d1bcf89da
Version bump to v1.5.0
5 years ago
Rapptz
1919267e5c
Add changelog for v1.4.2
5 years ago
Rapptz
821d833c11
Add changelog for v1.5.0
5 years ago
Rapptz
bf42cf7232
Add warning if guilds intent is disabled.
5 years ago
Rapptz
1ebb52b139
Guard GUILD_MEMBER_ADD/GUILD_MEMBER_REMOVE from errors
If the guilds intent is disabled all guilds are unavailable. This means
we don't receive a member_count attribute and cannot update it.
5 years ago
Alex Nørgaard
759fb52e56
Update intents with small typo fixes
5 years ago
Rapptz
28e5b2a5e1
Add Client.intents to query the current intents
Closes #5854
5 years ago
Nekokatt
3084deee18
Fixed incorrectly named 'Intent' class in doc.
`Intent.members` -> `Intents.members`.
5 years ago
Rapptz
e4d7f44aa5
Make Intent class creation more intuitive
5 years ago
apple502j
dc6e9e7fd6
Fix typo in ValueError message
5 years ago
Rapptz
de6c5ef675
More intent documentation.
Mention that you can downgrade the library to revert. Also mention
that intents need to be updated in the code as well as the developer
portal.
5 years ago
Rapptz
59d514fcdf
More intent related documentation
5 years ago
Rapptz
005a80303f
Add chunk_guilds_at_startup and deprecate fetch_offline_members
5 years ago
Sebastian Law
2974663367
Fix typos in Intents documentation
5 years ago
apple502j
0ebf5b2fa7
Add support for flag alias
5 years ago
Rapptz
7126f5a78c
Use delete_message_days instead of delete-message-days
5 years ago
Rapptz
e8eb19b2b4
Use /invites/ instead of /invite/
5 years ago
Rapptz
2e06239d3c
Add documentation for gateway intents
5 years ago
Rapptz
9dd4dc78c3
Mention potential Guild.member_count accuracy issues
5 years ago
Muhammad Hamza
11aaa03ec2
Fix presence intent docstring
5 years ago
Rapptz
213f55ffc7
Disable voice cache in weird intent configurations.
5 years ago
Rapptz
e644a5a060
Fix up wording in MemberCacheFlags exception
5 years ago
Rapptz
625a5c2a0b
Some documentation fixes for MemberCacheFlags and Intents
5 years ago
Rapptz
8d5c05ed20
Default MemberCacheFlags based on intents
5 years ago
Rapptz
bf8ca58996
Add a special exception for required privileged intents
5 years ago
Rapptz
4d813da9e1
Pass default intents if not explicitly given
5 years ago