Rapptz
b27fab09eb
Allow removing an embed in Message.edit
8 years ago
Rapptz
02f30f21c4
Implement User.profile coroutine to get a user's profile.
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
4c981ee631
Add support for relationships.
8 years ago
Rapptz
4b6b5bd35e
Remove email/password based login.
8 years ago
Rapptz
f4cadaf0cc
Fix bug with GuildChannel.edit and Role.edit with positions.
I did not update the HTTP code for these two methods.
8 years ago
Rapptz
92dd519b1a
Remove _get_guild_id from Messageable ABC.
8 years ago
Rapptz
ced617e786
Use the improved role creation endpoint for making roles.
8 years ago
Rapptz
c8247371f1
Fix 404s in pins_from and create_role routes.
8 years ago
Rapptz
94448d3972
Fix NameError inside HTTPClient.edit_member.
8 years ago
Rapptz
b86a568f86
Fix HTTP.application_info 404ing.
8 years ago
Rapptz
6d33ea748a
Implement rate limit headers.
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
98b981848d
Move message creation to a factory method inside ConnectionState.
8 years ago
Rapptz
79a49f9145
Absolute import some circular dependencies to appease Python 3.4.
8 years ago
Rapptz
a1c81419b7
Rename MessageChannel.send_message to send and unify interface.
This removes MessageChannel.upload.
8 years ago
Rapptz
5cb3ad14e8
Make emojis and members stateful.
9 years ago
Rapptz
d1d54a468a
Rename Server to Guild everywhere.
9 years ago
Rapptz
bed2e90e82
Properly propagate loop. Fixes #420 .
8 years ago
Rapptz
e8905fd41b
Add missing bucket for endpoints.
9 years ago
Rapptz
18178c26aa
Add support for clearing a message's reactions.
9 years ago
Rapptz
4c1fd2c9b1
Add atomic add and remove role endpoints to HTTPClient.
These are currently unused since their use is pretty limited.
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
ae796e0d01
Change buckets for reactions.
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
khazhyk
158ac6bb50
Add around parameter to LogsFromIterator.
9 years ago
Rapptz
9322bc78be
Add the ability to add, delete, and edit custom emoji.
9 years ago
Rapptz
96ca7cafee
Add Client.get_user_info to retrieve a User from ID.
9 years ago
Rapptz
667d2b384b
Add functions to query and actually prune members from a server.
9 years ago
Rapptz
ddd3fd0a3d
Begin working on gateway v6 changes.
The first batch of changes are related to channel types and group
direct messages. Support these first so READY begins parsing.
9 years ago
Rapptz
c02d9403e6
Fix bug with Client.server_voice_state not deafening.
9 years ago
Rapptz
8b3617111a
Support for v5 Gateway.
9 years ago
Rapptz
b3edb31df5
Add support for message pinning.
This includes `Client.pin_message`, `Client.unpin_message` and
`Client.pins_from`. This also adds the `Message.pinned` attribute
to the `Message` object.
9 years ago
Rapptz
4d375fc856
Fix HTTPClient.recreate to actually work.
Forgot a keyword argument.
9 years ago
Rapptz
2ebc0ab218
Don't assume that any shared fields are optional in Client.edit_channel.
Thanks Jake and night.
9 years ago
Rapptz
fa0c98da4c
Make logging for HTTP requests more useful.
9 years ago
Rapptz
7c760d3271
Add Client.get_message
9 years ago
Rapptz
f0fc70b2cf
Add a way to set permission overwrites when creating a channel.
9 years ago
Rapptz
c162b666ea
Fix bucket for change_nickname.
9 years ago
Hornwitser
e516c24746
Fix exception when handling login failure
Logging in with an invalid token would throw a TypeError due to improper
passing of arguments to HTTPClient._token. Fix by properly passing the
keyword only bot argument.
9 years ago
Rapptz
f3b257b342
Fix bug with uploading file-like objects.
I would require bytes-like objects instead due to its usage inside
the HTTPClient. Release this restriction so old `send_file` code works.
9 years ago
Rapptz
1fba1b06fa
Rewrite HTTP handling significantly.
This should have a more uniform approach to rate limit handling. Instead
of queueing every request, wait until we receive a 429 and then block
the requesting bucket until we're done being rate limited. This should
reduce the number of 429s done by the API significantly (about 66% avg).
This also consistently checks for 502 retries across all requests.
9 years ago