Rapptz
bca6b2a133
Fix bug that disallowed ServerRegion from being used in edit_server.
9 years ago
Rapptz
b1da659374
Document that Client.get_channel works with PrivateChannel too.
9 years ago
Rapptz
b2808b2abd
Document what it means that an object is not edited in-place explicitly
This seems to be a very common question regarding the docs so might as
well document exactly what this means rather than using cryptic and
confusing wording.
9 years ago
Khazhismel
c5a989eeb2
Add custom emoji support.
9 years ago
Rapptz
667d2b384b
Add functions to query and actually prune members from a server.
9 years ago
Rapptz
feeff2b848
Clarify that Client.purge_from requires Manage Messages for anything.
9 years ago
Rapptz
fbd628fae3
Fix KeyError when creating private channels in start_private_message.
I was not passing the full updated v6 payload.
9 years ago
Rapptz
b862223a1f
Fix TypeError when constructing a channel in start_private_message.
9 years ago
Rapptz
b0f5584961
Add AppInfo.owner attribute.
9 years ago
Rapptz
1c8ab25917
Add support for querying information about group calls.
9 years ago
PapyrusThePlant
18e77f356d
Save email when login with a token on a user account
9 years ago
Rapptz
6f3bd7c0e6
Fix issue with removing roles out of order.
Fixes #250 .
9 years ago
Hornwitser
e1f8bdc440
Make PyNaCl optional
9 years ago
cookie
abf9be5f7d
Guild Sharding support
9 years ago
Rapptz
c34eb5f6dd
Document that bot users can't use Client.accept_invite
9 years ago
Harmon758
6061f83c3f
Fix bug with edit_profile for user accounts
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
c3c9db7777
Fix bug with deleting private messages.
This was due to an AttributeError occurring when getting the guild_id
from the channel. PrivateChannels do not have guild_ids so they should
be None.
9 years ago
Rapptz
6b4d22ce81
Clarify that Client.logs_from can take a PrivateChannel too.
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
2ebc0ab218
Don't assume that any shared fields are optional in Client.edit_channel.
Thanks Jake and night.
9 years ago
Rapptz
eeba4963f3
The name is required in Client.edit_channel so add it if it is missing.
9 years ago
Rapptz
7c760d3271
Add Client.get_message
9 years ago
Rapptz
d7efc9778b
Make Client.edit_channel_permissions use PermissionOverwrite.
9 years ago
Rapptz
f0fc70b2cf
Add a way to set permission overwrites when creating a channel.
9 years ago
Rapptz
46babe822a
Fix bug with editing messages over private messages.
9 years ago
PapyrusThePlant
7d5d8aa918
Doc string typos
9 years ago
Jake
f6ef4868d1
Fix concurrently joining more than one voice server at a time
9 years ago
Rapptz
8d1867393c
Give Client.email a default value of None.
9 years ago
Rapptz
c3933c379a
Make the default filename a little bit prettier.
9 years ago
Rapptz
3895cf9295
Fix bug with login token not being properly written in cache.
9 years ago
Rapptz
b496ea7972
Fix bug with logs_from URL params not being correct.
The bug happened because I forgot to pass in the id attribute.
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
64c1e7d199
Fix bug with logging in with email and password.
9 years ago
Rapptz
879584b81a
Fix bug with edit_role and create_role not working.
This was due to an error in overzealous removal of code.
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
Rapptz
fa36a449e9
Change HTTPException to only take a single parameter.
9 years ago
Rapptz
a175c86aa1
Add Client.application_info to retrieve the current app info.
Fixes #241 .
9 years ago
Rapptz
631cc5a7d6
Add Client.move_channel to change channel positions.
9 years ago
Rapptz
329f916e10
Add `bot` keyword argument to login via static token.
9 years ago
Rapptz
5016f12079
Add Role.server attribute.
This breaks events that expected a server parameter for the role events.
9 years ago
Rapptz
e0a91df32b
Add RESUME support.
9 years ago
Harmon758
c8698787fa
Allow datetime in limit parameters for purge_from
Check for datetime instead of using logs_from, for 3.4 compatibility
9 years ago
Rapptz
70cc5eb1bb
Allow to edit mentionable property in Client.edit_role.
9 years ago
Rapptz
aa45bce212
Documentation fixes for role related functions.
9 years ago
Rapptz
8f4816ddae
Close voice connections before closing the websocket.
9 years ago
Harmon
c2e7a68105
Fix purge_from to use LogsFromIterator.create ( #219 )
9 years ago
Rapptz
fe1b5b2941
Add support for voice channel user limits.
9 years ago
Khazhismel Kumykov
492c9afffb
logs_from improvements for after param.
- Properly support 'after' alone
- Properly support both 'before' and 'after'
- Add optional 'reverse' parameter to sort messages oldest->newest to
1) provide a sorted result set for 'after'
2) give flexibility when using both 'before' and 'after'
9 years ago