NCPlayz
787d424dce
Add VoiceRegion.dubai
2020-01-06 00:30:04 -05:00
Rapptz
195b5188e8
Add Attachment.to_file to easily send an attachment.
...
The first thing someone will ask when someone sees this method is
"Why doesn't `send` just accept `Attachment`?". This question is fair
but it has an issue: exception propagation becomes confusing.
When we save a file and write it to memory an HTTP request is sent
similar to other API calls. Like all HTTP requests, these can fail.
Since these requests denote failure using HTTPException, if it were to
originate within `send` then it becomes confusing to know whether the
attachment saving itself failed or whether the sending failed.
For that reason, and to keep in-line with only 1 type of HTTP call per
method, it doesn't make sense for `send` to support `Attachment`.
2020-01-03 20:42:45 -05:00
Rapptz
6847f13198
Document that widget members may be incomplete.
...
See https://github.com/discordapp/discord-api-docs/issues/1287
2019-12-29 04:19:08 -05:00
Rapptz
fdab6e464f
Remove unnecessary pass using regex in Message.clean_content
...
The utils.escape_mentions should deal with it
2019-12-25 04:19:27 -05:00
Michael H
6794bdaac5
Use discord.utils.escape_mentions as last step of
...
discord.Message.clean_content
2019-12-25 04:13:10 -05:00
Christian Clauss
f9b8b234e3
Typo: AuditLogActionCategory
2019-12-23 00:49:17 +01:00
Rapptz
c92ca4ee07
Add Profile.system and Profile.team_user to query newer flags
2019-12-21 07:46:15 -05:00
Rapptz
2de90fbecf
Add User.system and MessageFlags.urgent
2019-12-21 07:39:33 -05:00
Rapptz
f7687e0a68
Clean up flag code significantly.
...
This also fixes the False setting bug.
2019-12-20 21:18:31 -05:00
NCPlayz
9c6a121644
Implement discord.MessageFlags
...
Refactor flags placement and use it for suppression.
2019-12-20 20:56:40 -05:00
Rapptz
fe1ebb3144
Default the Streaming name to the one passed for user created ones.
2019-12-19 21:26:41 -05:00
NCPlayz
a74bdaa8b2
Add Guild.discovery_splash_url/_as
, Guild.rules_channel
2019-12-19 22:19:04 +00:00
Rapptz
d9a8ae9c78
[commands] Add predicate attribute to checks to get inner function
2019-12-18 01:20:50 -05:00
NCPlayz
17901becf0
Add support for YouTube Streaming
2019-12-18 00:01:32 -05:00
NCPlayz
bb71f14ce3
Add RawReactionActionEvent.member
2019-12-17 23:59:59 -05:00
Io Mintz
ecff52a7e8
Document the exception-suppressing behaviour of Message.delete
...
This is already documented for Messageable.send's delete_after kwarg.
PR #2481
2019-12-17 23:36:19 -05:00
Rapptz
ec4962a14c
Wait 5 seconds before IDENTIFYing with an invalidated session.
2019-12-17 23:34:49 -05:00
Rapptz
1179df7e29
[commands] Make Greedy ignore parsing errors.
2019-12-17 00:27:56 -05:00
alexandrianlibrarian
def012e281
Be more explicit in the utils.find example code.
2019-12-17 00:15:16 -05:00
Leaf ▲
ab3eab135f
Removed MEMBER_LIST_DISABLED, added PUBLIC_DISABLED
2019-12-17 00:15:16 -05:00
StarrFox
e79ccf3f4c
[commands] check if prefix is None in .pages
2019-12-17 00:12:42 -05:00
Matt Carey
bcbfc354cf
Add support for xsalsa20_poly1305_lite
2019-12-17 00:11:40 -05:00
Xua
7972570eb6
[commands] Add guild-based permission checks
2019-12-17 00:11:39 -05:00
Lorenzo
1b9108ffd7
The port is a big endian unsigned short.
...
See https://github.com/discordapp/discord-api-docs/pull/1244
2019-12-06 19:33:15 +01:00
Merlintor
b458cc7b7d
Return 'username' instead of 'name'
2019-12-05 17:59:42 +01:00
Rapptz
7045639adc
Fix KeyError for things without a created_at
2019-12-05 04:36:04 -05:00
Stefano Pigozzi
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
NCPlayz
0c97907832
Add Activity.created_at
2019-12-04 18:40:38 -05:00
CapnS
072cef3bb6
Allow editing of overwrites in Channel.edit()
2019-12-04 18:40:38 -05:00
Rapptz
c62b6c3e88
Fix more deprecation warnings for 3.8
2019-11-26 05:19:11 -05:00
NCPlayz
f554819506
Implement Webhook.type
2019-11-26 05:16:53 -05:00
Nelluk
dc86670d7f
Fix typo in help.py docs
...
Changed "intend" to "indent"
2019-11-26 05:16:53 -05:00
Imayhaveborkedit
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
Josh B
7df5effbb7
Add new audit log entry types. Fix issue with unknown entry types
2019-11-26 05:16:53 -05:00
Rapptz
4ef0fb0d95
Fix more deprecation warnings
2019-11-20 03:04:04 -05:00
Rapptz
1b040fd4ba
Fix one more remaining loop passing for 3.8 in a Lock
2019-11-20 02:37:00 -05:00
Rapptz
a6f61dcbde
Fix all deprecation warnings for 3.8
2019-11-20 02:30:19 -05:00
Rapptz
924398c1ac
Trailing whitespace in documentation.
2019-11-20 01:43:01 -05:00
Rapptz
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
Rapptz
15f0b000e1
Move PartialEmoji over to a new namespace to avoid circular imports
2019-11-20 00:50:19 -05:00
Rapptz
e1a237a0d3
Revert "[tasks] Add Loop.exception for more reliable exception retrieval."
...
This reverts commit 7a8c9e66d9c43a539fb78107ce3f51f16c7f30a2.
2019-11-19 21:59:39 -05:00
Rapptz
071c5b89e0
Revert "[tasks] Add support for explicit time parameter when running."
...
This reverts commit 9f822a1e6d904c4d7454ab77496b8a4f736073ab.
2019-11-19 21:59:27 -05:00
Taewan-P
5517a42ee3
Update requirements.txt for future update
2019-11-19 21:06:29 -05:00
rkevin
51b3143319
Fix OggStream "invalid header magic" at end of stream
2019-11-19 21:06:28 -05:00
Rapptz
a238c6178a
Update regex to fetch URLs to match the official client.
...
Fixes #2420 .
2019-11-18 22:22:54 -05:00
Rapptz
cb21159589
Document that PartialEmoji.name can be None
2019-11-18 20:00:06 -05:00
Rapptz
d8e47b08a2
Manually trigger GC in cases of large deallocations.
2019-11-18 19:24:33 -05:00
Rapptz
ade8d03f54
Add changelog for 1.2.5
2019-11-18 19:21:40 -05:00
Rapptz
89bfd9cc20
animation field in reaction objects are not consistently available
2019-11-15 04:37:39 -05:00
Riley Shaw
7cde9febcf
[commands] Add Command/Group.add/remove_check
2019-11-15 04:29:52 -05:00