Rapptz
2ce53928d7
Fix broken HTTPClient.recreate code to actually clear session
3 years ago
Rapptz
73b967019c
Fix documentation build for Client.get_partial_messageable
3 years ago
Rapptz
5ff42bb600
Add guild property to DMChannel, GroupChannel, and PartialMessageable
This improves generic duck typing programming by allowing narrowing
the types by just checking for a None guild attribute.
3 years ago
Rapptz
18ae88b791
Improve generic duck type programming with PartialMessageable
This adds jump_url, permissions_for, and created_at. Luckily, most
cases of this type being constructed already have the guild_id at
creation time.
3 years ago
Rapptz
49cbf46c44
Only call async setup if the loop sentinel hasn't been changed
3 years ago
dolfies
90f9a605de
Rename appinfo.py -> application.py
2 years ago
dolfies
03868c4879
Implement recent messages
2 years ago
dolfies
f099d4a648
Implement affinities
2 years ago
dolfies
ba6e15ed61
Implement protobuf settings ( #476 )
* Initial implementation
* Internal and documentation changes
* Proto editing and update events
* Edit overloads and bugfixes
* Fix missing defaults in two overloads
* More fixers
* Black pass
* docs! (almost)
* Fix incorrect settings accessing
* Support setting settings versions
* Fix docs
* Update timezone_offset documentation
2 years ago
dolfies
edf083bd1e
Implement relationship presence and gateway session management
2 years ago
dolfies
9a6c4e1e35
Implement (almost) the entirety of the applications, billing, and store API ( #449 )
* Initial implementation
* Expose various rich methods to fetch the new models
* Add localize parameters and remove useless payment_source parameters from front-facing fetch methods
* Implement fetching and (partially) redeeming gifts
* Slot remaining models
* Correctly document Gift.redeem() channel parameter
* Implement some stuffs, fix more stuffs, add creating/editing skus/store listings
* Various context properties fixes
* Fix various types, expose SubscriptionPlan
* (Partially) implement purchasing SKUs and gift flags
* Finish and clean-up store/applications API implementations
* Implement build uls, missing sub plan params, purchase sku ret
* Fix upload_files() warning
* Formatter pass
* Normalize include_x to with_x, add various small missing things
* Update sub on manual invoice payment instead of returning new object
* Black pass
* Implement missing integrations/applications API shit
* Implement Application.store_listing_sku_id
* Expose richer subscription metadata guild info
* Implement SKU.system_requirements localization and modification
* Black pass
* Implement premium usage
* Implement application whitelist
* Implement active developer program enrollment
* Readd new team members to cache
* Polishing
* Implement leaving active developer program
* Type everything
* Expose everything
* Implement relationship activity statistics, improve model
* Black pass
* Document everything
* Add crunchyroll connection type (#426 )
* Fix type-checking error in PrivateChannel ABC (#427 )
* Update required property fetching to new domain
* Pin black to v22.6
* Get pyright to shut up
* Black pass
* Get pyright to shut up
2 years ago
dolfies
900c1e0e9c
Fix ApplicationBot, implement fetching public applications
3 years ago
dolfies
31434210e7
Fix Client.fetch_sticker_pack()
3 years ago
dolfies
3ecca7293d
Expose missing invite data, implement friend invites, improve invite methods
3 years ago
dolfies
d6479c1ba3
Fix docs typos
3 years ago
dolfies
b2d834f898
Cleanup and implement missing setting types (fixes #<deleted-issue>)
3 years ago
dolfies
c4b6007979
Implement new connection capabilities
3 years ago
dolfies
d16381a0b2
Fix send_friend_request not working ( fixes #307 )
3 years ago
dolfies
2c6bc72836
Make CaptchaHandler validation TypeError clearer
3 years ago
dolfies
ee1485705e
Implement detectable application fetching
3 years ago
dolfies
65d1efef25
Expose Client.country_code and Client.preferred_voice_regions
3 years ago
dolfies
552864b290
Finalize documentation
3 years ago
dolfies
5f1ab56174
Docs are fun 😡
3 years ago
dolfies
13d7bafd64
Docs are fun 😭
3 years ago
dolfies
9fe7cfb474
Docs are fun :(
3 years ago
dolfies
8eaa26d479
Various fixes (docs, events, enums, exports
3 years ago
dolfies
2e5bd8f31a
Improve captcha handling errors, remove unnecessary HTTP request
3 years ago
dolfies
29c2036bc8
Rebase to latest upstream
3 years ago
dolfies
8344783a11
Make more methods positional-only and privatize fetch_sticker_packs() parameters
3 years ago
dolfies
fe12a434b6
Convert more parameters to more generic types
3 years ago
dolfies
7de78cfcba
Implement captcha handling
3 years ago
dolfies
7067d1f4de
More documentation fixes
3 years ago
dolfies
346f447da6
Fix typing issues, make ClientUser relationship properties return relationships
3 years ago
dolfies
388863e521
Implement joining guilds from id & lurking, bug fixes, doc fixes
3 years ago
dolfies
957a484306
Run black
3 years ago
Bryan Forbes
062f4d6f87
Change some methods to use positional-only marker
Co-authored-by: Danny <[email protected] >
3 years ago
will
13d19dc5ce
Fix typo in http_trace parameter documentation
3 years ago
Rapptz
77ec49782a
Add http_trace option in Client to trace the library's HTTP requests
3 years ago
Rapptz
f5341a1cfa
Document cases where setup_hook can deadlock rather than raising
3 years ago
apple502j
3e77a7b29e
Forbid wait_until_ready inside setup_hook
3 years ago
Rapptz
c77bbc4dcf
Move with_counts parameter documentation where it belongs
3 years ago
Rapptz
7c0a9e901d
Fully initialise asyncio state in __aenter__
3 years ago
Rapptz
575eacb1bf
Change loop sentinel error to not use a tuple
This was an unintentional error
3 years ago
Rapptz
2bf612cd67
Fix Client.close erroring if done before proper async initialisation
3 years ago
Rapptz
9b77331603
Change loop sentinel to provide a more descriptive error message
This way people don't think it's a bug. I imagine some people won't
read it, but at least when you point it out they might get it.
3 years ago
Stocker
5aa696ccfa
Fix typing issues and improve typing completeness across the library
Co-authored-by: Danny <[email protected] >
Co-authored-by: Josh <[email protected] >
3 years ago
Rapptz
9c61e10a55
Move all async object creation to a proper initialisation point
This should make it so no object is created with another loop
3 years ago
Rapptz
8d4f08a5e7
Fix AutoShardedClient to work with the new asyncio loop machinery
Fix #7675
3 years ago
Rapptz
c02a3c0bb2
Add asynchronous context manager support for Client
3 years ago
Han Seung Min - 한승민
93af158b0c
Refactor loop code to allow usage of asyncio.run
3 years ago