aboutsummaryrefslogtreecommitdiff
path: root/discord/utils.py
Commit message (Expand)AuthorAgeFilesLines
* Bring back ParamSpec in utilsRapptz2021-08-251-0/+4
* Fix copy_doc typing to not error due to overloaded ParamSpecRapptz2021-08-251-6/+2
* Fix type hints for decorators in utilsJames Hilton-Balfe2021-08-231-5/+10
* Add missing return type to utils.oauth_urlMrKomodoDragon2021-08-231-1/+1
* Make json conversion functions privateRapptz2021-08-221-4/+4
* Rename types.Union -> UnionType for bpo-44732James2021-07-301-1/+1
* Add format_dt to utils __all__Vaskel2021-07-211-0/+1
* Refactor utcfromtimestamp to use fromtimestamp(..., tz=utc)Rapptz2021-07-091-1/+1
* Allow use of orjson instead of jsonRapptz2021-07-071-2/+21
* Ignore linting error when accessing Python 3.10 unionsRapptz2021-07-041-1/+1
* Add versionadded for format_dtRapptz2021-06-281-0/+2
* Add discord.utils.format_dt helper functionRapptz2021-06-281-0/+46
* Add disable_guild_select to utils.oauth_url()Soheab2021-06-271-13/+21
* Fix some webhook related type checker errorsRapptz2021-06-101-2/+2
* Add private get_slots utility to get slots through MRORapptz2021-05-281-0/+8
* Fix cached_slot_property typings againRapptz2021-05-231-2/+1
* [tasks] Add support for explicit time parameterSebastian Law2021-05-091-5/+9
* Simplify SnowflakeList type hintsRapptz2021-05-061-10/+2
* Fix various reference issues in documentationJosh2021-05-061-2/+2
* Fix SnowflakeList typingsRapptz2021-05-051-1/+16
* Add classproperty helper utilityRapptz2021-05-021-0/+9
* Fix typings for utils._parse_ratelimit_headerRapptz2021-05-011-1/+2
* Fix utils.MISSING not evaluating to True in implicit bool contextsRapptz2021-04-301-0/+3
* Add utils.MISSINGNadir Chowdhury2021-04-291-0/+11
* [commands] Update error message for Literal float/complexOlivia2021-04-271-1/+1
* Split annotation resolution to discord.utilsRapptz2021-04-271-2/+103
* Add as_chunks helper functionJosh2021-04-251-0/+70
* Define utils.cached_property in if TYPE_CHECKING guardJosh2021-04-221-2/+5
* Fix some typings in utilsRapptz2021-04-201-13/+2
* Add a third overload to parse_timeRapptz2021-04-191-0/+6
* Fix utils.find predicate typing to accept AnyRapptz2021-04-191-1/+1
* Fix up _unique and valid_icon_size implementationsRapptz2021-04-181-5/+2
* Add typings for discord.utilsRapptz2021-04-181-51/+131
* Cleanup some of the prior typings for cached_slot_propertyRapptz2021-04-181-23/+22
* Add typing for `utils.cached(_slot)_property` Nadir Chowdhury2021-04-181-16/+33
* Fix spelling error in utils.__all__Maya2021-04-111-1/+1
* Add typings for audit logs, integrations, and webhooks Nadir Chowdhury2021-04-101-2/+2
* Add `__all__` to remaining modulesNadir Chowdhury2021-04-071-0/+12
* Fix some regressions from create_task changeRapptz2021-04-061-1/+1
* Use `asyncio.create_task` over `asyncio.ensure_future`Nadir Chowdhury2021-04-051-1/+1
* Add discord.utils.utcnow() helper function to ease migrationRapptz2021-04-041-0/+15
* Remove special casing of MAX_ASYNCIO_SECONDS in sleep_untilRapptz2021-04-041-4/+0
* Convert datetimes to aware datetimes with UTC.Rapptz2021-04-041-15/+33
* Modernize code to use f-stringsRapptz2021-04-041-9/+7
* [docs] copy signature from overridden and inherited methodsSebastian Law2021-03-291-1/+8
* Add remove_markdown helper functionEdwin2021-03-281-3/+39
* Add scopes to utils.oauth_urlNihaal Sangha2021-03-281-2/+7
* Fix references to snowflakes being max 21 longNihaal Sangha2021-03-021-1/+1
* Code optimisations and refactoring via SourceryNadir Chowdhury2021-02-241-4/+1
* Fix up previous PR mistake with intentional backslashesRapptz2021-02-211-2/+2