aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Reconnect even if we close with 1000 since Discord can send it.Rapptz2017-03-011-7/+10
| | | | | Rely on is_closed() instead since this is the true metric of a clean closure.
* Miscellaneous documentation fixes in Client.wait_forRapptz2017-02-231-4/+7
|
* Remove Client.email attribute.Rapptz2017-02-231-5/+0
| | | | Use ClientUser.email instead.
* Reconnect when a task times out and propagates.Rapptz2017-02-191-0/+1
|
* Add experimental reconnection logic.Rapptz2017-02-151-12/+50
|
* Add Client.get_user_profile to get an arbitrary user's profile.Rapptz2017-02-101-1/+38
|
* Add Client.emojis to get all emojis.Rapptz2017-02-101-6/+5
| | | | This removes the older get_all_emojis generator.
* Fix NameError in Client.get_inviteRapptz2017-02-101-1/+1
|
* Fix support for instant invites.Rapptz2017-02-081-91/+1
|
* Rewrite RESUME logic to be more in line with what is requested.Rapptz2017-02-081-8/+3
| | | | | | Apparently we should always try to RESUME first and if we get INVALIDATE_SESSION then we should IDENTIFY instead. This is the preferred way to do RESUMEs.
* Make all public is_ functions into methods instead of properties.Rapptz2017-01-291-4/+2
|
* Re-add Client.wait_until_readyRapptz2017-01-291-0/+22
|
* Replace wait_for_* with a generic Client.wait_forRapptz2017-01-251-288/+84
|
* Add compatibility shim for asyncio.Future creation.Rapptz2017-01-251-2/+2
| | | | Should provide better support for uvloop.
* Remove unused ChannelPermissions namedtuple.Rapptz2017-01-251-3/+0
|
* Remove Client.__getattr__ and Client.__setattr__ shims.Rapptz2017-01-251-25/+28
| | | | We should use properties instead.
* Optimise attribute access when dispatching.Rapptz2017-01-251-7/+15
|
* Add option to disable auto member chunking.Rapptz2017-01-231-39/+53
|
* Allow unique invites for Client.create_invite.Rapptz2017-01-211-2/+4
|
* Update copyright year to 2017.Rapptz2017-01-201-1/+1
|
* Make ClientUser separate from a regular User.Rapptz2017-01-191-79/+1
| | | | This removes Client.edit_profile in favour of ClientUser.edit.
* Remove email/password based login.Rapptz2017-01-191-96/+11
|
* Fix documentation to properly use Messageable.sendRapptz2017-01-131-11/+11
|
* Allow overriding the shard_ids used for initial shard launch.Rapptz2017-01-081-1/+1
|
* Add AutoShardedClient.change_presence.Rapptz2017-01-081-0/+11
|
* Implement AutoShardedClient for transparent sharding.Rapptz2017-01-071-2/+6
| | | | | This allows people to run their >2,500 guild bot in a single process without the headaches of IPC/RPC or much difficulty.
* Move global user cache to a WeakValueDictionary.Rapptz2017-01-041-1/+13
|
* Move message creation to a factory method inside ConnectionState.Rapptz2017-01-031-11/+6
|
* Move away from StateContext and use ConnectionState directly.Rapptz2017-01-031-2/+2
|
* Add permission overwrites to GuildChannel.Rapptz2017-01-031-90/+0
|
* Remove chunks of the voice code to redesign later.Rapptz2017-01-031-133/+3
|
* Absolute import some circular dependencies to appease Python 3.4.Rapptz2017-01-031-10/+11
|
* Remove no longer used functions in Client.Rapptz2017-01-031-1850/+1
|
* Change dict value views into lists.Rapptz2017-01-031-3/+3
|
* Rename try_insert_user to store_userRapptz2017-01-031-1/+1
|
* Rename Server to Guild everywhere.Rapptz2017-01-031-222/+222
|
* Split channel types.Rapptz2017-01-031-4/+4
| | | | | | | | | | | This splits them into the following: * DMChannel * GroupChannel * VoiceChannel * TextChannel This also makes the channels "stateful".
* Begin working on the rewrite.Rapptz2017-01-031-22/+20
|
* Properly propagate loop. Fixes #420.Rapptz2016-12-211-3/+3
|
* Add support for partnered servers. Fixes #387.Rapptz2016-12-171-8/+24
| | | | | This commit allows you to edit a server's invite splash, query if something has partnered features, and retrieve the invite splash + URL.
* Fix typo in wait_for_reaction documentation.Rapptz2016-12-071-2/+2
|
* Documentation fixes.Rapptz2016-11-171-1/+7
|
* Add support for clearing a message's reactions.Rapptz2016-11-171-0/+22
|
* Support message editing with rich embeds.Rapptz2016-11-131-3/+7
|
* Add support for rich embeds.Rapptz2016-11-131-4/+34
|
* Make Client.wait_for_reaction return a namedtuple instead.Rapptz2016-11-041-9/+26
| | | | Also fix a bug in the case that emoji parameter is `None`.
* Add Client.wait_for_reaction to wait for a reaction from a user.Rapptz2016-11-031-19/+144
|
* Inject full Emoji to Reaction if we have it.khazhyk2016-11-031-6/+6
| | | | | | | Reaction objects with custom Emoji are partial. If we know of this Emoji (can find it on this client) then inject it. Otherwise, leave it as a hollow Emoji. We can still react with a hollow Emoji, but can't get other metadata about it.
* Add support for reactions.khazhyk2016-10-271-0/+125
| | | | | | | | | | | Reactions can be be standard emojis, or custom server emojis. Adds - add/remove_reaction - get_reaction_users - Messages have new field reactions - new events - message_reaction_add, message_reaction_remove - new permission - add_reactions
* Add around parameter to LogsFromIterator.khazhyk2016-10-161-6/+17
|