Rapptz
aa41101237
Remove Client.accept_invite
8 years ago
Rapptz
5ce88c8a3f
Reconnect even if we close with 1000 since Discord can send it.
Rely on is_closed() instead since this is the true metric of a clean
closure.
8 years ago
Rapptz
9d4f3ebb43
Miscellaneous documentation fixes in Client.wait_for
8 years ago
Rapptz
e16a1e583e
Remove Client.email attribute.
Use ClientUser.email instead.
8 years ago
Rapptz
b7488d7c6e
Reconnect when a task times out and propagates.
8 years ago
Rapptz
58fa5fdc9a
Add experimental reconnection logic.
8 years ago
Rapptz
8727472b85
Add Client.get_user_profile to get an arbitrary user's profile.
8 years ago
Rapptz
0dac5e3139
Add Client.emojis to get all emojis.
This removes the older get_all_emojis generator.
8 years ago
Rapptz
c16a515e50
Fix NameError in Client.get_invite
8 years ago
Rapptz
274e6af0dd
Fix support for instant invites.
8 years ago
Rapptz
dc486980f8
Rewrite RESUME logic to be more in line with what is requested.
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.
8 years ago
Rapptz
e77012f4d9
Make all public is_ functions into methods instead of properties.
8 years ago
Rapptz
8c896e9fbc
Re-add Client.wait_until_ready
8 years ago
Rapptz
e5cb7d295c
Replace wait_for_* with a generic Client.wait_for
8 years ago
Rapptz
b876133e87
Add compatibility shim for asyncio.Future creation.
Should provide better support for uvloop.
8 years ago
Rapptz
62f43889c0
Remove unused ChannelPermissions namedtuple.
8 years ago
Rapptz
c80cbf1931
Remove Client.__getattr__ and Client.__setattr__ shims.
We should use properties instead.
8 years ago
Rapptz
234fd5180f
Optimise attribute access when dispatching.
8 years ago
Rapptz
e1aaf74fa7
Add option to disable auto member chunking.
8 years ago
Rapptz
1ffb2ca7ac
Allow unique invites for Client.create_invite.
8 years ago
Rapptz
ff9f5749e1
Update copyright year to 2017.
8 years ago
Rapptz
fa384f2114
Make ClientUser separate from a regular User.
This removes Client.edit_profile in favour of ClientUser.edit.
8 years ago
Rapptz
4b6b5bd35e
Remove email/password based login.
8 years ago
Rapptz
33450cd1b6
Fix documentation to properly use Messageable.send
8 years ago
Rapptz
92c1637921
Allow overriding the shard_ids used for initial shard launch.
8 years ago
Rapptz
4bc6625739
Add AutoShardedClient.change_presence.
8 years ago
Rapptz
20041ea756
Implement AutoShardedClient for transparent sharding.
This allows people to run their >2,500 guild bot in a single process
without the headaches of IPC/RPC or much difficulty.
8 years ago
Rapptz
808a05ff2d
Move global user cache to a WeakValueDictionary.
8 years ago
Rapptz
98b981848d
Move message creation to a factory method inside ConnectionState.
8 years ago
Rapptz
5e6bfecb07
Move away from StateContext and use ConnectionState directly.
8 years ago
Rapptz
633eacc982
Add permission overwrites to GuildChannel.
8 years ago
Rapptz
a557858742
Remove chunks of the voice code to redesign later.
8 years ago
Rapptz
79a49f9145
Absolute import some circular dependencies to appease Python 3.4.
8 years ago
Rapptz
30394d03f2
Remove no longer used functions in Client.
8 years ago
Rapptz
2c50c18ca3
Change dict value views into lists.
9 years ago
Rapptz
59a0df5f98
Rename try_insert_user to store_user
9 years ago
Rapptz
d1d54a468a
Rename Server to Guild everywhere.
9 years ago
Rapptz
53ab263125
Split channel types.
This splits them into the following:
* DMChannel
* GroupChannel
* VoiceChannel
* TextChannel
This also makes the channels "stateful".
9 years ago
Rapptz
044b0824e6
Begin working on the rewrite.
9 years ago
Rapptz
bed2e90e82
Properly propagate loop. Fixes #420 .
8 years ago
Rapptz
6302ef8094
Add support for partnered servers. Fixes #387 .
This commit allows you to edit a server's invite splash, query if
something has partnered features, and retrieve the invite splash + URL.
8 years ago
Rapptz
51fda76555
Fix typo in wait_for_reaction documentation.
9 years ago
Rapptz
44624b7f44
Documentation fixes.
9 years ago
Rapptz
18178c26aa
Add support for clearing a message's reactions.
9 years ago
Rapptz
a312f21bc3
Support message editing with rich embeds.
9 years ago
Rapptz
af46718460
Add support for rich embeds.
9 years ago
Rapptz
edcd1750c9
Make Client.wait_for_reaction return a namedtuple instead.
Also fix a bug in the case that emoji parameter is `None`.
9 years ago
Rapptz
0e8a92cbac
Add Client.wait_for_reaction to wait for a reaction from a user.
9 years ago
khazhyk
4d87b2f817
Inject full Emoji to Reaction if we have it.
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.
9 years ago
khazhyk
c4acc0e1a1
Add support for reactions.
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
9 years ago