James Hilton-Balfe
eb6f5728e2
Add support for AsyncIterables in find and get
3 years ago
Rapptz
88b520b5ab
Reformat code using black
Segments where readability was hampered were fixed by appropriate
format skipping directives. New code should hopefully be black
compatible. The moment they remove the -S option is probably the moment
I stop using black though.
3 years ago
Rapptz
af8e74d327
Allow deferring modal_submit interactions
This also adds a thinking boolean to toggle which type of deferring
is done when there can be ambiguity.
3 years ago
Josh
19c6687b55
Add support for Modal Interactions
3 years ago
Devon R
964ca0a6f1
Add GitHub Actions non-test workflows
3 years ago
Devon R
82084709ae
JP docs fixes
3 years ago
Rapptz
015072b7fd
Remove wrong import
3 years ago
jack1142
686f233954
Add missing information about in-place edits in Message.edit
3 years ago
Josh
4dbe1af32f
Update sphinx and fix documentation issues
3 years ago
Josh
dede5539ee
Add support for editing message attachments
3 years ago
Kaylynn Morgan
588cda0996
Refactor AsyncIter to use 3.6+ asynchronous generators
3 years ago
jack1142
dc19c6c7d5
Add positional-only arguments in more places
3 years ago
Vaskel
19b10eecfe
Add message content to the Intents.default docstring
3 years ago
Rapptz
e14153ddcb
Fix nonce being sent even when not specified
3 years ago
Vaskel
4e331704ae
[commands] Fix typing problems in commands.converter
3 years ago
Josh
61974411df
[commands] Fix issue in PartialMessageConverter._resolve channel
3 years ago
jack1142
de78a1071f
Add message content intent application flags
3 years ago
Josh
352dcf9557
Add missing audit log properties
3 years ago
jack1142
de85eacbf5
Remove incorrect note about isinstance check for abc.Connectable
3 years ago
Maya
0b77b52da2
Add support for animated guild banners
https://github.com/discord/discord-api-docs/pull/3948
3 years ago
Vaskel
338c960c5f
Add missing Optional import
3 years ago
Alex Nørgaard
2e5da07180
Fix unknown DMChannel in MessageReference.resolved.channel
Threads would cause the message reference to resolve to a DMChannel
3 years ago
Rapptz
cfdccbd5ff
Add support for AppInfo.flags
3 years ago
Josh
37f96e3473
Add message_content intent and move to api v10
3 years ago
Josh
b1571ccc25
[commands] Fix Command.cog being reset after update
3 years ago
Josh
ce01033e06
Allow PartialMessage.channel to be a PartialMessageable
3 years ago
Rapptz
92d1b4cd2b
Refactor interaction response handling to support files
This adds support for file sending and allowed_mentions
3 years ago
Rapptz
770a5fee9c
Remove PartialMessage.edit duplicated code
Now that Message.edit returns the message this duplication is no longer
needed.
3 years ago
Rapptz
9c066a8cf6
Refactor internal message sending and editing parameter passing
This reduces some repetition in many functions and is ripped out of
the webhook code. This also removes the unused HTTP functions for
interaction responses since those belong in the webhook code rather
than the HTTPClient.
3 years ago
Josh
4248bb3717
Add invitable to TextChannel.create_thread
3 years ago
Josh
08bee0eeb6
Add support for file/attachment descriptions
3 years ago
Kowlin
7f54c45886
Add Thread.created_at
3 years ago
Maya
a1dbc0ca27
Add member timeouts and relevant permissions
3 years ago
Josh
e05c80b963
[types] Refactor and add Application Command types
3 years ago
Nadir Chowdhury
3c0c0f76d7
Add guild scheduled events HTTP methods
3 years ago
Kowlin
18e7736f7b
Remove PartialAppInfo.summary and AppInfo.summary
This is returning an empty String by Discord. and is planned to be fully
removed on v11 of the Discord API. See discord/discord-api-docs#4510 .
3 years ago
Kowlin
bae0cdf2a7
Add SPAMMER user flag
3 years ago
jack1142
783513726f
Add support for role icons
* Document ROLE_ICONS guild feature
https://github.com/discord/discord-api-docs/pull/3847
* Add support for role icons
https://github.com/discord/discord-api-docs/pull/3847
* Add support for role icon/emoji changes in audit log
https://github.com/discord/discord-api-docs/pull/3847
3 years ago
jack1142
9a6b2fa402
Add Thread.fetch_member
See: discord/discord-api-docs#3998
3 years ago
jack1142
820bde99e1
Add BOT_HTTP_INTERACTIONS user flag
Adds UserFlags.bot_http_interactions and PublicUserFlags.bot_http_interactions
See: discord/discord-api-docs#3903
3 years ago
Nadir Chowdhury
d034264973
Type up Guild Scheduled Events
3 years ago
jack1142
423fd1bc26
Add SystemChannelFlags.join_notification_replies
Add SUPPRESS_JOIN_NOTIFICATION_REPLIES system channel flag
See: discord/discord-api-docs#3977
3 years ago
Rapptz
2c89202214
Fix some minor typing issues
3 years ago
Rapptz
3113036a54
Fix typing for utils.as_chunks
3 years ago
Rapptz
b389596f26
Fix typing of User._accent_colour
3 years ago
Rapptz
c22f058fa0
Fix views not being removed upon timeout
3 years ago
Rapptz
4fa2a6e63e
Fix memory leak in webhooks not deallocating locks
3 years ago
Rapptz
940bdb988a
Revert "Move global user storage from WeakValueDictionary to dict"
This reverts commit cb2363f0fd
.
This lead to memory leaks due to insufficient tracking, assuming that
the members intent was enabled.
3 years ago
Rapptz
8b96822ca1
Add pyproject.toml
3 years ago
Rapptz
8e896100d5
Remove old README link
3 years ago