| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add format_dt to utils __all__ | Vaskel | 2021-07-21 | 1 | -0/+1 |
| | | |||||
| * | Refactor utcfromtimestamp to use fromtimestamp(..., tz=utc) | Rapptz | 2021-07-09 | 1 | -1/+1 |
| | | |||||
| * | Allow use of orjson instead of json | Rapptz | 2021-07-07 | 1 | -2/+21 |
| | | | | | | | | The difference in speed seems negligible at start up, which is when most time is taken for actually parsing JSON. I could potentially be missing something but profiling didn't point to any discernable difference. | ||||
| * | Ignore linting error when accessing Python 3.10 unions | Rapptz | 2021-07-04 | 1 | -1/+1 |
| | | |||||
| * | Add versionadded for format_dt | Rapptz | 2021-06-28 | 1 | -0/+2 |
| | | |||||
| * | Add discord.utils.format_dt helper function | Rapptz | 2021-06-28 | 1 | -0/+46 |
| | | |||||
| * | Add disable_guild_select to utils.oauth_url() | Soheab | 2021-06-27 | 1 | -13/+21 |
| | | |||||
| * | Fix some webhook related type checker errors | Rapptz | 2021-06-10 | 1 | -2/+2 |
| | | |||||
| * | Add private get_slots utility to get slots through MRO | Rapptz | 2021-05-28 | 1 | -0/+8 |
| | | |||||
| * | Fix cached_slot_property typings again | Rapptz | 2021-05-23 | 1 | -2/+1 |
| | | |||||
| * | [tasks] Add support for explicit time parameter | Sebastian Law | 2021-05-09 | 1 | -5/+9 |
| | | |||||
| * | Simplify SnowflakeList type hints | Rapptz | 2021-05-06 | 1 | -10/+2 |
| | | |||||
| * | Fix various reference issues in documentation | Josh | 2021-05-06 | 1 | -2/+2 |
| | | | | | Co-Authored-By: Riley Shaw <[email protected]> | ||||
| * | Fix SnowflakeList typings | Rapptz | 2021-05-05 | 1 | -1/+16 |
| | | |||||
| * | Add classproperty helper utility | Rapptz | 2021-05-02 | 1 | -0/+9 |
| | | | | | This is apparently a 3.9+ only addition | ||||
| * | Fix typings for utils._parse_ratelimit_header | Rapptz | 2021-05-01 | 1 | -1/+2 |
| | | | | | A CIMultiDict is not a Dict but a Mapping | ||||
| * | Fix utils.MISSING not evaluating to True in implicit bool contexts | Rapptz | 2021-04-30 | 1 | -0/+3 |
| | | |||||
| * | Add utils.MISSING | Nadir Chowdhury | 2021-04-29 | 1 | -0/+11 |
| | | |||||
| * | [commands] Update error message for Literal float/complex | Olivia | 2021-04-27 | 1 | -1/+1 |
| | | |||||
| * | Split annotation resolution to discord.utils | Rapptz | 2021-04-27 | 1 | -2/+103 |
| | | |||||
| * | Add as_chunks helper function | Josh | 2021-04-25 | 1 | -0/+70 |
| | | |||||
| * | Define utils.cached_property in if TYPE_CHECKING guard | Josh | 2021-04-22 | 1 | -2/+5 |
| | | |||||
| * | Fix some typings in utils | Rapptz | 2021-04-20 | 1 | -13/+2 |
| | | |||||
| * | Add a third overload to parse_time | Rapptz | 2021-04-19 | 1 | -0/+6 |
| | | | | | | | | Apparently this behaviour is intended in Pyright https://github.com/microsoft/pyright/issues/1772 Despite mypy behaving as intended. | ||||
| * | Fix utils.find predicate typing to accept Any | Rapptz | 2021-04-19 | 1 | -1/+1 |
| | | |||||
| * | Fix up _unique and valid_icon_size implementations | Rapptz | 2021-04-18 | 1 | -5/+2 |
| | | |||||
| * | Add typings for discord.utils | Rapptz | 2021-04-18 | 1 | -51/+131 |
| | | |||||
| * | Cleanup some of the prior typings for cached_slot_property | Rapptz | 2021-04-18 | 1 | -23/+22 |
| | | |||||
| * | Add typing for `utils.cached(_slot)_property` | Nadir Chowdhury | 2021-04-18 | 1 | -16/+33 |
| | | |||||
| * | Fix spelling error in utils.__all__ | Maya | 2021-04-11 | 1 | -1/+1 |
| | | |||||
| * | Add typings for audit logs, integrations, and webhooks | Nadir Chowdhury | 2021-04-10 | 1 | -2/+2 |
| | | |||||
| * | Add `__all__` to remaining modules | Nadir Chowdhury | 2021-04-07 | 1 | -0/+12 |
| | | |||||
| * | Fix some regressions from create_task change | Rapptz | 2021-04-06 | 1 | -1/+1 |
| | | |||||
| * | Use `asyncio.create_task` over `asyncio.ensure_future` | Nadir Chowdhury | 2021-04-05 | 1 | -1/+1 |
| | | |||||
| * | Add discord.utils.utcnow() helper function to ease migration | Rapptz | 2021-04-04 | 1 | -0/+15 |
| | | |||||
| * | Remove special casing of MAX_ASYNCIO_SECONDS in sleep_until | Rapptz | 2021-04-04 | 1 | -4/+0 |
| | | | | | This compatibility code goes away in Python versions greater than 3.7 | ||||
| * | Convert datetimes to aware datetimes with UTC. | Rapptz | 2021-04-04 | 1 | -15/+33 |
| | | | | | | Naive datetimes will now be interpreted as local time throughout the library. | ||||
| * | Modernize code to use f-strings | Rapptz | 2021-04-04 | 1 | -9/+7 |
| | | | | | | 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] copy signature from overridden and inherited methods | Sebastian Law | 2021-03-29 | 1 | -1/+8 |
| | | |||||
| * | Add remove_markdown helper function | Edwin | 2021-03-28 | 1 | -3/+39 |
| | | |||||
| * | Add scopes to utils.oauth_url | Nihaal Sangha | 2021-03-28 | 1 | -2/+7 |
| | | |||||
| * | Fix references to snowflakes being max 21 long | Nihaal Sangha | 2021-03-02 | 1 | -1/+1 |
| | | |||||
| * | Code optimisations and refactoring via Sourcery | Nadir Chowdhury | 2021-02-24 | 1 | -4/+1 |
| | | |||||
| * | Fix up previous PR mistake with intentional backslashes | Rapptz | 2021-02-21 | 1 | -2/+2 |
| | | |||||
| * | Fix backslashes showing up in the docs | Sebastian Law | 2021-02-21 | 1 | -2/+2 |
| | | |||||
| * | Change copyright year to present | Nihaal Sangha | 2021-01-15 | 1 | -1/+1 |
| | | |||||
| * | [chore] Remove redundant imports | Nadir Chowdhury | 2020-11-28 | 1 | -2/+0 |
| | | | | This also removes the historical patch for NullHandler implemented in bbf1c54, as it has been available since Python 3.1. | ||||
| * | Escape multi-line quotes properly | Rapptz | 2020-10-17 | 1 | -2/+2 |
| | | | | | Fix #5897 | ||||
| * | Add note pointing to discord.AllowedMentions | ChristopherJHart | 2020-10-04 | 1 | -0/+6 |
| | | |||||
| * | Fix NameError with resolving codes with Template | Nadir Chowdhury | 2020-07-31 | 1 | -1/+1 |
| | | |||||