| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 |
| | | |||||
| * | Fix detection of some JPEG images without JFIF or Exif info | Rapptz | 2020-07-21 | 1 | -1/+1 |
| | | | | | Closes #5143 | ||||
| * | [docs] fix reference to `Guild` and document `utils.resolve_template` | NCPlayz | 2020-07-08 | 1 | -2/+17 |
| | | |||||
| * | [bugs] stop resolving Object for template/invite; remove dupe methods | NCPlayz | 2020-06-29 | 1 | -4/+4 |
| | | |||||
| * | Add support for Discord templates | Nadir Chowdhury | 2020-06-28 | 1 | -0/+11 |
| | | |||||
| * | Fix various inconsistencies within the documentation (#5067) | Sebastian Law | 2020-06-28 | 1 | -1/+15 |
| | | |||||
| * | Escape masked URLs; Support quotes for as_needed | NCPlayz | 2020-06-17 | 1 | -2/+4 |
| | | |||||
| * | Support discord.com/invite URL in resolve_invite | apple502j | 2020-06-04 | 1 | -1/+1 |
| | | |||||
| * | Document that sleep_until considers naive datetimes as UTC. | Rapptz | 2020-05-29 | 1 | -1/+2 |
| | | |||||
| * | isinstance(x, y) and isinstance(x, z) -> isinstance(x, (y, z)) | NCPlayz | 2020-05-23 | 1 | -1/+1 |
| | | |||||
| * | Prepare for the discord.com domain rename | Rapptz | 2020-05-23 | 1 | -1/+1 |
| | | |||||
| * | Minor documentation fixes | Rapptz | 2020-01-21 | 1 | -2/+2 |
| | | |||||
| * | Add missing coroutine header for sleep_until | Rapptz | 2020-01-21 | 1 | -1/+3 |
| | | |||||
| * | Improve usability of utils.sleep_until | Josh B | 2020-01-21 | 1 | -2/+8 |
| | | | | | | | | | | Fix issue where sleeping for an extended period on python 3.5 would cause an exception Add sleep_until to API docs Add result argument to sleep_until | ||||
| * | Drop superfluous zero in version related changes in the documentation | Rapptz | 2020-01-21 | 1 | -2/+2 |
| | | |||||
| * | Add discord.utils.sleep_until helper function | Josh B | 2020-01-21 | 1 | -0/+18 |
| | | |||||
| * | Bump copyright year to 2020 | Rapptz | 2020-01-19 | 1 | -1/+1 |
| | | | | | Closes #2510 | ||||
| * | Be more explicit in the utils.find example code. | alexandrianlibrarian | 2019-12-17 | 1 | -1/+1 |
| | | |||||
| * | Fix more deprecation warnings | Rapptz | 2019-11-20 | 1 | -1/+4 |
| | | |||||
| * | Fix all deprecation warnings for 3.8 | Rapptz | 2019-11-20 | 1 | -2/+2 |
| | | |||||
| * | Update regex to fetch URLs to match the official client. | Rapptz | 2019-11-18 | 1 | -1/+1 |
| | | | | | Fixes #2420. | ||||
| * | Use X-Ratelimit-Reset-After header by default. | Rapptz | 2019-08-27 | 1 | -4/+9 |
| | | | | | There is now an option to turn it off, of course. | ||||
| * | Use new rate limit millisecond precision option. | Rapptz | 2019-08-27 | 1 | -1/+1 |
| | | |||||
| * | Escape quote markdown in utils.escape_markdown | Rapptz | 2019-07-27 | 1 | -1/+1 |
| | | |||||
| * | Add Guild.query_members to fetch members from the gateway. | Rapptz | 2019-07-15 | 1 | -1/+3 |
| | | |||||
| * | Improve documentation | NCPlayz | 2019-06-07 | 1 | -14/+11 |
| | | |||||
| * | Speed-up utils.get for the common cases | Rapptz | 2019-05-29 | 1 | -11/+21 |
| | | |||||
| * | add read-only cached_messages property to Client | khazhyk | 2019-04-17 | 1 | -0/+27 |
| | | | | | For those of us who want access to this sweet trove of zero hop messages | ||||
| * | Forgot to escape backticks. | Rapptz | 2019-04-07 | 1 | -1/+1 |
| | | |||||
| * | Add ignore_links and as_needed options to utils.escape_markdown. | Rapptz | 2019-04-07 | 1 | -5/+30 |
| | | | | | | | This allows for URLs to be left alone since they can include markdown characters and allows for total escaping of all markdown characters by default to prevent some form of data manipulation. | ||||
| * | Fix regex substitution in utils.escape_mentions | Rapptz | 2019-04-06 | 1 | -1/+1 |
| | | |||||
| * | Add helpers to escape markdown and mentions from text. | Rapptz | 2019-04-06 | 1 | -0/+40 |
| | | | | | Fixes #1673 | ||||
| * | Add support for guild widget | NCPlayz | 2019-03-19 | 1 | -0/+26 |
| | | |||||
| * | Organise documentation | NCPlayz | 2019-03-19 | 1 | -6/+6 |
| | | |||||
| * | Add support for guild banners | SnowyLuma | 2019-03-09 | 1 | -2/+2 |
| | | | | | | | | | Document banner attribute of Guild and Invite Update discord/utils.py Co-Authored-By: SnowyLuma <[email protected]> | ||||
| * | Better jpeg detection in utils._get_mime_type_for_image | Rapptz | 2019-02-23 | 1 | -1/+1 |
| | | | | | Fixes #1901 | ||||
| * | Fix missing import. | Rapptz | 2019-02-06 | 1 | -2/+2 |
| | | |||||
| * | Try to optimize for the common ASCII case. | Rapptz | 2019-02-06 | 1 | -3/+10 |
| | | | | | | This is still a slowdown (about 45ns to 300ns) but it's less severe than the original implementation (about 900 to 1100ns). | ||||
| * | [commands] Fix ext.commands help page full-width indentation | cod | 2019-02-06 | 1 | -0/+9 |
| | | | | | | add _string_width function to util. Changed string width calculate function from len() to util function _string_width(). | ||||
| * | Bumped copyright years to 2019. | Dante Dam | 2019-01-28 | 1 | -1/+1 |
| | | |||||
| * | Use a tuple for startswith in mime detection code. | Valentin | 2019-01-28 | 1 | -1/+1 |
| | | |||||
| * | Support webp in _get_mime_type_for_image | khazhyk | 2018-11-24 | 1 | -0/+2 |
| | | | | untested | ||||
| * | [lint] Fix import order | Hornwitser | 2018-11-24 | 1 | -8/+9 |
| | | | | | | Reorder imports to be consistenly grouped by standard library, third party library, and local modules in that order thoughout the library. | ||||
| * | [lint] Simplyfy util.valid_icon_size | Hornwitser | 2018-11-24 | 1 | -1/+1 |
| | | | | | Remove redundant paranthesis and checks from util.valid_icon_size. | ||||
| * | [lint] Remove redundant paranthesis | Hornwitser | 2018-11-24 | 1 | -1/+1 |
| | | | | | | Remove redundant parenthisis around await expressions. Left over from f25091ef. | ||||
| * | Add Guild.splash_url_as | Matt (IPv4) | 2018-10-11 | 1 | -2/+2 |
| | | |||||
| * | Change internal representation of roles in Member and Emoji. | Rapptz | 2018-09-24 | 1 | -1/+33 |
| | | | | | | | | | | | | | | | | Introduce a new internal type, SnowflakeList, which has better memory footprint over a regular list or set of roles. It is suspected that there will be a 9x reduction of memory for every Emoji instance and a 48 byte saving per Member instance. However, these savings will probably only be evident on larger bots. As a consequence of this change, Member.roles is now computed lazily. Currently I am not sure if I want to do the initial sorting on the SnowflakeList for Member, as this comes with a O(n log n) cost when creating a Member for little purpose since SnowflakeList.has is not overly relied on. If CPU time becomes an issue this might change. | ||||
| * | Change docstrings to raw-strings | BeatButton | 2018-09-14 | 1 | -1/+1 |
| | | |||||