aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo in docstrings of Client classAbhinav Singh2021-08-271-1/+1
|
* Change a few parameters to be positional onlyChrovo2021-08-261-9/+9
| | | | | This makes parameters positional only in the methods fetch_sticker, fetch_webhook, fetch_channel, fetch_user, fetch_widget, fetch_stage_instance, fetch_guild, get_sticker, and get_channel.
* Add Client.status attributepyxiis2021-08-261-0/+20
|
* Make getters in Client positional onlyMrKomodoDragon2021-08-231-4/+4
|
* Fix references in docsJosh2021-08-221-1/+1
|
* Make global log variable in modules privateRapptz2021-08-221-12/+12
|
* Add Thread to the return type of Client.get_channelStocker2021-08-191-8/+13
| | | Also explains some type ignores.
* Fix missing or broken versionadded in docstringsAkshuAgarwal2021-08-181-3/+12
| | | This also documents BadFlagArgument.flag
* Revert "Refactor Client.run to use asyncio.run"Rapptz2021-08-111-98/+102
| | | | This reverts commit 6e6c8a7b2810747222a938c7fe3e466c2994b23f.
* Refactor Client.run to use asyncio.runRapptz2021-08-101-102/+98
| | | | | | | | This also adds asynchronous context manager support to allow for idiomatic asyncio usage for the lower-level counterpart. At first I wanted to remove Client.run but I figured that a lot of beginners would have been confused or not enjoyed the verbosity of the newer approach of using async-with.
* Add support for PartialMessageable instancesRapptz2021-08-101-1/+21
| | | | | This allows library users to send messages to channels without fetching it first.
* Fill in ConnectionState.user via HTTPClient.static_loginGnome!2021-08-101-3/+4
|
* [commands] Document / type-hint cooldownJosh2021-08-101-1/+1
|
* Add enable_debug_events parameter to enable expensive debug eventsRapptz2021-07-311-0/+9
| | | | This should allow less dispatching during heavy gateway event streams.
* Rename instances of nitro to premiumRapptz2021-07-301-5/+5
|
* implement guild stickersNadir Chowdhury2021-07-301-0/+69
|
* Remove afk parameter from change_presenceAaron Hennessey2021-07-211-6/+4
|
* Fix typing errors with ClientRapptz2021-07-041-13/+22
|
* Fix Client.fetch_channel not returning ThreadAlex Nørgaard2021-07-031-5/+6
|
* [typing] Type-hint client.pyJosh2021-06-291-87/+118
|
* [docs] Update Sphinx and Fix various referencesJosh2021-06-271-4/+4
| | | Co-Authored-By: Riley Shaw <[email protected]>
* Close ClientSession after closing websocket connectionsRapptz2021-06-101-1/+1
|
* Add Client.persistent_views to get all persistent viewsRapptz2021-05-311-1/+6
|
* Ensure views added to Client.add_view are persistent viewsRapptz2021-05-311-0/+6
|
* Implement StageInstanceNadir Chowdhury2021-05-301-2/+53
|
* Allow registering a View for persistent long term dispatchingRapptz2021-05-291-0/+27
|
* Consistent loop attribute descriptionCryptex2021-05-231-1/+1
|
* Type up **kwargs of various methods Nadir Chowdhury2021-05-101-2/+7
|
* Fix various reference issues in documentationJosh2021-05-061-3/+3
| | | | Co-Authored-By: Riley Shaw <[email protected]>
* [docs] remove mentions of bot only usabilitySebastian Law2021-05-041-4/+3
|
* Add Client.create_dmRapptz2021-05-011-0/+28
|
* Add fetch_invite with with_expirationNadir Chowdhury2021-05-011-2/+7
|
* [docs] Update notes for get_user and get_member pikaninja2021-04-271-1/+1
|
* Add support for ApplicationFlagsNadir Chowdhury2021-04-181-0/+9
|
* Remove fetch_offline_members param for Clientapple502j2021-04-141-2/+0
|
* Remove support for guild subscriptions apple502j2021-04-141-31/+0
|
* Fix Intents resolution in the docsRapptz2021-04-101-1/+1
|
* Add typings for invites, templates, and bans Nadir Chowdhury2021-04-101-4/+5
|
* Remove user token warning in loginCryptex2021-04-081-8/+0
|
* Use f-strings in more places that were missed.Rapptz2021-04-081-1/+1
|
* Add `__all__` to remaining modulesNadir Chowdhury2021-04-071-0/+4
|
* Add support for setting application_idRapptz2021-04-061-0/+12
|
* Remove 3.6 check for `loop.shutdown_asyncgens()` Nadir Chowdhury2021-04-051-2/+1
|
* Remove fail-safe for retrieving all tasks Nadir Chowdhury2021-04-051-7/+1
|
* Remove deprecated client methodsVaskel2021-04-051-50/+0
|
* Convert datetimes to aware datetimes with UTC.Rapptz2021-04-041-2/+4
| | | | | Naive datetimes will now be interpreted as local time throughout the library.
* Remove userbot functionalityRapptz2021-04-041-66/+6
| | | | | This has a lot of legacy and cruft so there may be some stuff I've missed but this first pass is enough to get a clear separation.
* Remove asyncio.Task subclass in preference to task namesRapptz2021-04-041-17/+1
|
* Modernize code to use f-stringsRapptz2021-04-041-10/+6
| | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`.
* [docs] Fix fetch_members/guilds documentationNadir Chowdhury2021-03-311-3/+1
|