| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 |
| | | |||||
| * | [lint] Remove unused variables | Hornwitser | 2018-08-22 | 1 | -1/+1 |
| | | | | | Left over from various refactoring and rewrites. | ||||
| * | Drop support for Python 3.4 and make minimum version 3.5.2. | Rapptz | 2018-06-10 | 1 | -11/+8 |
| | | |||||
| * | Fix TypeError in utils.oauth_url | ReinaSakuraba | 2017-10-04 | 1 | -1/+1 |
| | | |||||
| * | Change how coroutines are detected internally. | Rapptz | 2017-09-16 | 1 | -3/+4 |
| | | |||||
| * | Fix utils.get example. | Rapptz | 2017-08-30 | 1 | -1/+1 |
| | | |||||
| * | Add webhook support. | Rapptz | 2017-08-21 | 1 | -0/+6 |
| | | | | | | | | Allows for usage of either `requests` and `aiohttp` when used in "Standalone" mode. Fixes #704 | ||||
| * | allow trailing null bytes in uploaded jpegs | khazhyk | 2017-07-25 | 1 | -1/+1 |
| | | |||||
| * | avatar_url_as improvements | khazhyk | 2017-07-25 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | static_format will only apply to static (not animated) avatars. Makes it easier to grab gif-or-'format' of an avatar. Defaults to 'webp' This is for a similar usecase to avatar_url_as(format=None), except one can specify the non-animated format, instead of always using webp. add User.avatar_is_animated property. add validation for avatar_url_as, since invalid arguments result in a url which will return 415, which can be confusing for a user. (They just see a blank page) Discord accepts size=16-2048, but images cap at 1024px, so accept 16-1024 Discord accepts "jpg", "jpeg", "png", "gif", and "webp", *unless* the avatar is not animated, in which case "gif" is not supported. :\ | ||||
| * | Implement "partial" message events. | Rapptz | 2017-06-09 | 1 | -3/+1 |
| | | | | | | These are events that get triggered regardless of the state of the message cache. Useful for getting data from before the bot was booted. | ||||
| * | Use Python3Lexer instead of PythonLexer for pygments. | Rapptz | 2017-05-22 | 1 | -3/+3 |
| | | |||||
| * | Remove unused imports. | Rapptz | 2017-04-18 | 1 | -1/+1 |
| | | |||||
| * | Wrap asyncio.wait into a saner alternative that raises TimeoutError. | Rapptz | 2017-02-25 | 1 | -0/+7 |
| | | | | | Fixes #494 | ||||
| * | Allow utils.maybe_coroutine to take any arguments. | Rapptz | 2017-02-13 | 1 | -3/+3 |
| | | |||||
| * | Implement async checks. Fixes #380. | Rapptz | 2017-02-12 | 1 | -0/+16 |
| | | |||||
| * | Update copyright year to 2017. | Rapptz | 2017-01-20 | 1 | -1/+1 |
| | | |||||
| * | Allow uploading of GIFs for users. | SunDwarf | 2017-01-08 | 1 | -0/+2 |
| | | | | | | | | Discord Nitro accounts can upload GIFs as avatars, so the image mimetype checker code should check for the GIF magic number too. Signed-off-by: SunDwarf <[email protected]> | ||||
| * | Rename Server to Guild everywhere. | Rapptz | 2017-01-03 | 1 | -10/+10 |
| | | |||||
| * | Switch IDs to use int instead of str | Rapptz | 2017-01-03 | 1 | -3/+10 |
| | | |||||
| * | Add support for "Do Not Disturb" and "Invisible" statuses. | Rapptz | 2016-09-26 | 1 | -0/+16 |
| | | | | | | This deprecates Client.change_status in favour of the newer and more correct Client.change_presence. | ||||
| * | Remove unused verify response function. | Rapptz | 2016-06-12 | 1 | -18/+0 |
| | | |||||
| * | Change HTTPException to only take a single parameter. | Rapptz | 2016-06-12 | 1 | -5/+4 |
| | | |||||
| * | Allow datetime in limit parameters for logs_from. | Khazhismel Kumykov | 2016-05-20 | 1 | -0/+18 |
| | | | | | Add time_snowflake to convert a datetime to a "snowflake". | ||||
| * | Force encoding of text retrieval functions to use utf-8. | Rapptz | 2016-05-10 | 1 | -2/+2 |
| | | | | | Closes #207 | ||||
| * | Add compatibility layer for `run_coroutine_threadsafe`. | Rapptz | 2016-04-25 | 1 | -4/+0 |
| | | | | | | This is a breaking change, since discord.utils.create_task is moved to discord.compat.create_task. | ||||
| * | Add optional redirect_uri parameter to utils.oauth_url | cookie | 2016-04-18 | 1 | -1/+6 |
| | | |||||
| * | Add optional server parameter to utils.oauth_url | Khazhismel Kumykov | 2016-04-15 | 1 | -2/+6 |
| | | |||||
| * | Add utility function for generating OAuth2 urls. | Rapptz | 2016-04-08 | 1 | -0/+19 |
| | | |||||