118 Commits (651699fcd2b3cf7b00faa7cc1bbd5a689e2dd41b)

Author SHA1 Message Date
Rapptz 44a44e938f Reformat entire project with ruff instead of black 11 months ago
Soheab 983a9b8f94
Use Unpack where it's possible 11 months ago
Maxine 3e48119654
Fix unreachable code not triggering privileged intent error 1 year ago
DA344 6214942f86
Fix SessionStartLimits and SKU.subscriptions docstrings 1 year ago
Michael H 9806aeb831
Add public method to get session start limits 2 years ago
Michael H 88f62d85d2
Ensure Client.close() has finished in __aexit__ 2 years ago
Rapptz cb3ea9b889 Add shard_connect_timeout parameter for AutoShardedClient 3 years ago
Rapptz ca5cbcbdf3 Reconnect a shard if disconnected during a HELLO OP 3 years ago
Rapptz 8aaeb6acfa Parse gateway URL as an actual URL using yarl 4 years ago
Rapptz 3802780f77 Change a lot of logging INFO calls to be less verbose 4 years ago
Rapptz 7da2048d1a Add support for resume_gateway_url 4 years ago
Rapptz 2d586ae805 Add initial support for app command localisation 4 years ago
Rapptz b917904c1b Prevent launching shards when bot is closed 4 years ago
Rapptz 768242b00e Fix typo in async with documentation 4 years ago
James Hilton-Balfe 5d1b63bfee
[docs] Add async with documentation for Client 4 years ago
Lilly Rose Berner 2dbf14bb72
Separately delay ready event for each shard 4 years ago
Rapptz 76cc2c2272 Require passing intents to Client and its subclasses 4 years ago
Kellen 4fd2d5fdfd
Remove redundant imports and variables 4 years ago
Stocker 5aa696ccfa
Fix typing issues and improve typing completeness across the library 4 years ago
Rapptz 9c61e10a55 Move all async object creation to a proper initialisation point 4 years ago
Rapptz 8d4f08a5e7 Fix AutoShardedClient to work with the new asyncio loop machinery 4 years ago
Han Seung Min - 한승민 93af158b0c
Refactor loop code to allow usage of asyncio.run 4 years ago
chromacoat dreamkey 095aaa9ad1
Change wording of InvalidArgument removal in docs 4 years ago
Rapptz f7315573aa Remove generic from Interaction and ConnectionState 4 years ago
Rapptz f435d160dd Add Interaction.client property 4 years ago
Josh 147948af9b
Use typing.Self throughout library 4 years ago
Josh 2b69b5d545
Remove discord.InvalidArgument 4 years ago
Josh a315786869
Handle type-errors in upcoming pyright release 4 years ago
jack1142 dc19c6c7d5
Add positional-only arguments in more places 4 years ago
Rapptz 1b5c206279 Fix broken rename from pyright 5 years ago
Rapptz ea2d972666 Make global log variable in modules private 5 years ago
Rapptz 8d80259a80 Reformat shard.py 5 years ago
Stocker 5390caa67d
Typehint shard.py 5 years ago
Aaron Hennessey 15eb3d2e5d
Remove afk parameter from change_presence 5 years ago
Rapptz a8da7d03b9 Remove AutoShardedClient.request_offline_members 5 years ago
Nadir Chowdhury 89456022cf
Add `__all__` to remaining modules 5 years ago
Rapptz 54288879e2 Remove userbot functionality 5 years ago
Rapptz 9d39b135f4 Modernize code to use f-strings 5 years ago
Nadir Chowdhury 63ec23bac2
Code optimisations and refactoring via Sourcery 5 years ago
Nihaal Sangha 69bdc3a184
Change copyright year to present 6 years ago
Rapptz 12d0ae71df Add a way to check if the websocket is rate limited. 6 years ago
Rapptz 005a80303f Add chunk_guilds_at_startup and deprecate fetch_offline_members 6 years ago
Rapptz bf8ca58996 Add a special exception for required privileged intents 6 years ago
Rapptz cb8cb557f5 Add Guild.chunk and deprecated Client.request_offline_members 6 years ago
Rapptz 055fe76241 Fix Client.request_offline_members no longer working 6 years ago
Rapptz 0b93fa3a82 Implement VoiceProtocol lower level hooks. 6 years ago
Rapptz 4ccd9c1591 Remove caching from AutoShardedClient.shards 6 years ago
Rapptz 50f4c31d31 Terminate shard processing queue when a clean close is encountered. 6 years ago
Rapptz b77af19939 Fix AttributeError from internal queue being double underscore. 6 years ago
Rapptz 7ed26db3b3 Add an exposed way to extract shard-specific information. 6 years ago