Commit Graph

2154 Commits

Author SHA1 Message Date
6065cee7a0 Change websockets version to >=6.0, !=7
Allow the usage of newer websockets versions, as the bug preventing the upgrade was fixed in websockets 8.0, while allowing the install of discord.py on Python 3.5.
2019-12-04 18:40:39 -05:00
0c97907832 Add Activity.created_at 2019-12-04 18:40:38 -05:00
072cef3bb6 Allow editing of overwrites in Channel.edit() 2019-12-04 18:40:38 -05:00
c62b6c3e88 Fix more deprecation warnings for 3.8 2019-11-26 05:19:11 -05:00
f554819506 Implement Webhook.type 2019-11-26 05:16:53 -05:00
dc86670d7f Fix typo in help.py docs
Changed "intend" to "indent"
2019-11-26 05:16:53 -05:00
839afce178 Print exception tracebacks in voice threads
Errors occurring within `AudioSource.read()` and `after()` functions will now display their tracebacks as if they were unhandled exceptions.
2019-11-26 05:16:53 -05:00
7df5effbb7 Add new audit log entry types. Fix issue with unknown entry types 2019-11-26 05:16:53 -05:00
4ef0fb0d95 Fix more deprecation warnings 2019-11-20 03:04:04 -05:00
1b040fd4ba Fix one more remaining loop passing for 3.8 in a Lock 2019-11-20 02:37:00 -05:00
a6f61dcbde Fix all deprecation warnings for 3.8 2019-11-20 02:30:19 -05:00
924398c1ac Trailing whitespace in documentation. 2019-11-20 01:43:01 -05:00
45f342ff79 Fix regression with references being overwritten from the cache.
A proper fix for this would be to just request presence information
as well since the chunk request would probably be more up to date than
the current cache. However this delta requires a little bit more work
and will be done later.
2019-11-20 01:41:23 -05:00
15f0b000e1 Move PartialEmoji over to a new namespace to avoid circular imports 2019-11-20 00:50:19 -05:00
e1a237a0d3 Revert "[tasks] Add Loop.exception for more reliable exception retrieval."
This reverts commit 7a8c9e66d9.
2019-11-19 21:59:39 -05:00
071c5b89e0 Revert "[tasks] Add support for explicit time parameter when running."
This reverts commit 9f822a1e6d.
2019-11-19 21:59:27 -05:00
5517a42ee3 Update requirements.txt for future update 2019-11-19 21:06:29 -05:00
51b3143319 Fix OggStream "invalid header magic" at end of stream 2019-11-19 21:06:28 -05:00
a238c6178a Update regex to fetch URLs to match the official client.
Fixes #2420.
2019-11-18 22:22:54 -05:00
cb21159589 Document that PartialEmoji.name can be None 2019-11-18 20:00:06 -05:00
d8e47b08a2 Manually trigger GC in cases of large deallocations. 2019-11-18 19:24:33 -05:00
ade8d03f54 Add changelog for 1.2.5 2019-11-18 19:21:40 -05:00
89bfd9cc20 animation field in reaction objects are not consistently available 2019-11-15 04:37:39 -05:00
7cde9febcf [commands] Add Command/Group.add/remove_check 2019-11-15 04:29:52 -05:00
bf9b9c5879 Adjust BASE urls to have no trailing slash (consistency) 2019-11-15 04:25:38 -05:00
f5ebf42e1f Return invites as https, various URL normalization 2019-11-15 04:25:38 -05:00
46246a2844 Add view_guild_insights permission 2019-11-15 04:23:26 -05:00
e713b86154 Added Optional to ClientUser.premium_type type hint 2019-11-15 04:23:15 -05:00
99b61f973f Added Optional to VoiceState.channel type 2019-11-15 04:23:15 -05:00
cc2aecd3ff Fix 'purge' method docstring. 2019-11-15 04:23:15 -05:00
064ece11ab macOS instead of OS X
### Summary

"In 2016, with the release of macOS 10.12 Sierra, the name was changed from OS X to macOS"
source :: https://en.wikipedia.org/wiki/MacOS#macOS

### Checklist

- [ ] If code changes were made then they have been tested.
    - [ ] I have updated the documentation to reflect the changes.
- [ ] This PR fixes an issue.
- [ ] This PR adds something new (e.g. new method or parameters).
- [ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
- [X] This PR is **not** a code change (e.g. documentation, README, ...)
2019-11-15 04:23:15 -05:00
dab2519a09 Implement TextChannel.follow() 2019-11-15 04:23:15 -05:00
80702df1bc [docs] add new FAQ entries
- How to DM
- Lack of search and implications
- Where to find examples
- Getting the ID of a sent message
2019-11-15 04:23:15 -05:00
Xua
4c3e53edf4 Fix webhooks not re-raising after retries run out 2019-10-20 05:20:15 -04:00
30c9e33384 [docs] category_id is Optional 2019-10-20 05:20:15 -04:00
bc642ded6e [commands] Allow converters from custom discord.ext extensions
Originally the converting of an argument with type in the discord.*
package would try to use the predefined converters, even if there were
none present. This is fixed by supplying a default argument to getattr

Fixes #2369
2019-10-20 05:19:03 -04:00
f273199d57 Refactor name kwarg for Emoji.edit() 2019-10-20 05:19:03 -04:00
bf3e0a94b8 Add changelog for v1.2.4 2019-10-17 21:01:59 -04:00
f831767585 docs: on_guild_emojis_update is a Sequence 2019-10-17 20:10:34 -04:00
Xua
f912758a1f Prevent premium_subscription_count being None 2019-10-17 05:56:01 -04:00
2a0766795f Make Guild.default_role use get_role.
Prevents some stale caching by using the new O(1) Guild.get_role.
2019-10-17 05:56:01 -04:00
b63f4f7032 Add MEMBER_LIST_DISABLED to docs for Guild.features 2019-10-17 05:56:01 -04:00
8488669482 add suppress-embeds to on_message_edit triggers 2019-10-17 05:56:01 -04:00
5cad76370e [commands] Fix grammar
Either implies that there will be two things, there is only one.
2019-10-17 05:56:01 -04:00
07840db053 Document Command.cog property 2019-10-17 05:56:01 -04:00
6241983a99 Add europe region 2019-10-17 05:56:01 -04:00
e67c260f3e The LURKABLE feature has been renamed to PUBLIC 2019-09-21 18:43:52 +02:00
c6539bbc61 Reaction's emoji can be a partial one too 2019-09-19 21:24:47 -04:00
3cef1e09f8 Add Emoji.is_usable() 2019-09-19 21:24:16 -04:00
8240454555 Add self_stream property to VoiceState object. 2019-09-19 21:21:54 -04:00