| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add asyncio.Task subclass for better __repr__ for events. | Rapptz | 2019-05-19 | 1 | -1/+22 |
| | | |||||
| * | Validate kwargs in Client.start | NCPlayz | 2019-05-19 | 1 | -0/+9 |
| | | |||||
| * | Add back signal handling to Client.run | Rapptz | 2019-05-11 | 1 | -2/+16 |
| | | | | | | Apparently Python does not transform SIGTERM to KeyboardInterrupt as nicely as I thought. | ||||
| * | Rewrite loop cleanup code (again...) and remove signal handling. | Rapptz | 2019-04-26 | 1 | -66/+27 |
| | | | | | This should hopefully be the last time I touch this. | ||||
| * | Use a regular boolean instead of asyncio.Event for close status. | Rapptz | 2019-04-25 | 1 | -5/+5 |
| | | |||||
| * | Add note about overriding Client.close vs Client.logout | Rapptz | 2019-04-18 | 1 | -0/+6 |
| | | |||||
| * | add read-only cached_messages property to Client | khazhyk | 2019-04-17 | 1 | -0/+8 |
| | | | | | For those of us who want access to this sweet trove of zero hop messages | ||||
| * | Internal consistency with message related HTTPClient methods | Rapptz | 2019-04-14 | 1 | -1/+1 |
| | | |||||
| * | [commands] Fix references in Bot to actually link. | Rapptz | 2019-04-10 | 1 | -65/+62 |
| | | | | | Exceptions can't seem to link due to a bug in Sphinx. | ||||
| * | Add notes warning that fetch_ methods are api calls | Vexs | 2019-04-10 | 1 | -0/+12 |
| | | | | | Also recommends using cache attributes/methods instead | ||||
| * | Fix cleanup code on Linux not working properly. | Rapptz | 2019-04-09 | 1 | -9/+17 |
| | | |||||
| * | Stop the event loop if it's running during cleanup. | Rapptz | 2019-04-09 | 1 | -1/+8 |
| | | | | | Also handle the coroutine directly instead of using run_until_complete | ||||
| * | Add notes stating what Guild.fetch_guild and Guild.fetch_guilds returns | NCPlayz | 2019-04-08 | 1 | -2/+12 |
| | | | | | Also fixed two typos. | ||||
| * | Fix oversight where on_disconnect did not get called on WS termination. | Rapptz | 2019-04-08 | 1 | -0/+1 |
| | | |||||
| * | Client.event raises TypeError instead of ClientException. | Rapptz | 2019-04-07 | 1 | -2/+7 |
| | | |||||
| * | Don't raise an exception during the signal handlers. | Rapptz | 2019-04-07 | 1 | -10/+7 |
| | | |||||
| * | Simplify bot loop cleanup routine. | Rapptz | 2019-04-06 | 1 | -46/+57 |
| | | | | | Attempted solution for #2040 | ||||
| * | Redesign asset retrieval in the library. | NCPlayz | 2019-04-06 | 1 | -17/+3 |
| | | | | | | | | | | | | Most assets now return a new class named `Asset`. This allows for the assets to be consistently saved via a `save` method instead of special casing for `Attachment`. `AppInfo` is no longer a namedtuple it is a fully documented dataclass, as well as having the state attached to it. Fixes #1997 | ||||
| * | Add support for guild widget | NCPlayz | 2019-03-19 | 1 | -14/+33 |
| | | |||||
| * | Expose Metadata | NCPlayz | 2019-03-19 | 1 | -4/+77 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added access to: * `/users/@me/guilds` * `/guilds/{guild_id}` * `/guilds/{guild_id}/members/{member_id}` BREAKING CHANGE: * `get_user_info` -> `fetch_user_info` to match naming scheme. Remove useless note Remove `reverse` and corresponding documentation Update documentation to reflect #1988 Rename `get_` HTTP functions to `fetch_` Breaking Changes: * `get_message` -> `fetch_message` * `get_invite` -> `fetch_invite` * `get_user_profile` -> `fetch_user_profile` * `get_webhook_info` -> `fetch_webhook` * `get_ban` -> `fetch_ban` Fix InviteConverter, update migrating.rst Rename get_message to fetch_message | ||||
| * | Organise documentation | NCPlayz | 2019-03-19 | 1 | -53/+56 |
| | | |||||
| * | Add on_disconnect event. | Rapptz | 2019-03-18 | 1 | -0/+1 |
| | | | | | I assume this is where it has to be. Fix #1937 | ||||
| * | Moved http.close to before _closed.set | NCPlayz | 2019-03-09 | 1 | -2/+1 |
| | | |||||
| * | Expose more information from partial invites, along with counts. | Rapptz | 2019-02-12 | 1 | -5/+9 |
| | | | | | | | | | | | | | | This adds the following information. * `PartialInviteGuild` to replace `Object` patching * `PartialInviteChannel` to replace `Object` patching * Invite.approximate_member_count and Invite.approximate_presence_count The new partial objects provide better documentation on what is expected when you fetch random invites. Fixes #1830 | ||||
| * | Bumped copyright years to 2019. | Dante Dam | 2019-01-28 | 1 | -1/+1 |
| | | |||||
| * | Support discordapp.com invite URLs. | Rapptz | 2018-11-25 | 1 | -1/+1 |
| | | |||||
| * | Add support for multiple activities | SnowyLuma | 2018-11-24 | 1 | -1/+1 |
| | | |||||
| * | [lint] Removed unused variable handler | Hornwitser | 2018-11-24 | 1 | -1/+0 |
| | | | | | Left over by the removal of handlers in 2721689. | ||||
| * | [lint] Changed missed docstrings to raw-string | Hornwitser | 2018-11-24 | 1 | -2/+2 |
| | | | | | Missed by a4d1599 despite being pointed out in #1570. | ||||
| * | [lint] Fix import order | Hornwitser | 2018-11-24 | 1 | -9/+11 |
| | | | | | | Reorder imports to be consistenly grouped by standard library, third party library, and local modules in that order thoughout the library. | ||||
| * | [lint] Rename exception variables to exc | Hornwitser | 2018-11-24 | 1 | -6/+6 |
| | | | | | | Use the more explicit (and common) exc instead of e as the variable holding the exception in except handlers. | ||||
| * | [lint] Limit unneccessarily broad except clauses | Hornwitser | 2018-11-24 | 1 | -3/+3 |
| | | | | | Add exception qualifier(s) to bare except clauses swallowing exceptions. | ||||
| * | Optimise tight loops in DiscordGateway.received_message | Rapptz | 2018-09-24 | 1 | -8/+5 |
| | | | | | | | * type(x) is y is faster than isinstance(x, y) * Re-arrange if-statements for common statements * Drop handler getattr for most events that don't use it | ||||
| * | Fix up the Sphinx strings causing warnings. | Rapptz | 2018-09-15 | 1 | -1/+1 |
| | | |||||
| * | [lint] Fix incorrect and inconsistent whitespace | Hornwitser | 2018-08-22 | 1 | -4/+2 |
| | | | | | Adjust whitespace to be consistent with the rest of the library. | ||||
| * | [lint] Remove unused variables | Hornwitser | 2018-08-22 | 1 | -1/+1 |
| | | | | | Left over from various refactoring and rewrites. | ||||
| * | More informations for the Application info | El Laggron | 2018-08-22 | 1 | -1/+6 |
| | | | | | | This adds the rpc_origin, bot_public and bot_require_code_grant attributes | ||||
| * | Explicitly mark event handlers private | Rapptz | 2018-08-09 | 1 | -2/+2 |
| | | |||||
| * | Fix dumb typo in the warning. | Rapptz | 2018-07-24 | 1 | -2/+3 |
| | | |||||
| * | Add a warning for self-bots in Client.login | Rapptz | 2018-07-24 | 1 | -0/+6 |
| | | | | | Closes #1449 | ||||
| * | Add clarification about creating guilds | Kot | 2018-07-24 | 1 | -2/+2 |
| | | |||||
| * | [docs] discord/client: remove reference to async_event | bmintz | 2018-07-19 | 1 | -9/+2 |
| | | |||||
| * | Remove remaining asyncio.coroutine calls. | bmintz | 2018-07-05 | 1 | -7/+0 |
| | | | | | Also remove Client.async_event | ||||
| * | Remove dead package references. | Rapptz | 2018-06-10 | 1 | -1/+1 |
| | | |||||
| * | Drop support for Python 3.4 and make minimum version 3.5.2. | Rapptz | 2018-06-10 | 1 | -75/+53 |
| | | |||||
| * | Fixes various documentation errors/inconsistencies | Steve C | 2018-05-18 | 1 | -1/+4 |
| | | | | | Mostly dealing with permissions, also fixes Raw Events inclusion. | ||||
| * | Convert Client.activity back to an Activity-like object | Rapptz | 2018-03-06 | 1 | -2/+2 |
| | | |||||
| * | Missing import for _ActivityTag inside Client | Rapptz | 2018-03-06 | 1 | -0/+1 |
| | | |||||
| * | Add ability to change the activity used when logging in at runtime. | Rapptz | 2018-03-05 | 1 | -0/+14 |
| | | |||||
| * | Split Game object to separate Activity subtypes for Rich Presences. | Rapptz | 2018-03-05 | 1 | -19/+20 |
| | | | | | | | | | | | | This is a massive breaking change. * All references to "game" have been renamed to "activity" * Activity objects contain a majority of the rich presence information * Game and Streaming are subtypes for memory optimisation purposes for the more common cases. * Introduce a more specialised read-only type, Spotify, for the official Spotify integration to make it easier to use. | ||||