dolfies
3547be4a53
Parse session_type
3 years ago
dolfies
70583f75f2
Implement GroupChannel owner transferring, fix GroupChannel attribute signatures
3 years ago
dolfies
c90e44a217
Bump capabilities
3 years ago
dolfies
51eb06353a
Make access_private_channel() consistent with the client
3 years ago
dolfies
e64d0e71dd
Fix call handling
3 years ago
dolfies
8fcca3183a
Rebase to latest upstream
3 years ago
dolfies
5ff7002424
Remove unnecessary imports
3 years ago
dolfies
50ff16ede6
Rebase to latest upstream
3 years ago
dolfies
29c2036bc8
Rebase to latest upstream
3 years ago
dolfies
957a484306
Run black
3 years ago
I. Ahmad
4dc24a005a
Fix typo in PartialMessageable docstring
3 years ago
jack1142
d55f8d38ad
Add PartialMessageable.__repr__
3 years ago
Rapptz
caf1c6eae4
Fix overload in StoreChannel
3 years ago
Stocker
5aa696ccfa
Fix typing issues and improve typing completeness across the library
Co-authored-by: Danny <[email protected] >
Co-authored-by: Josh <[email protected] >
3 years ago
chromacoat dreamkey
095aaa9ad1
Change wording of InvalidArgument removal in docs
3 years ago
thetimtoy
a877b269da
Remove unused Object import
3 years ago
Neon Jonn
adb69e7157
Fix some spelling mistakes
3 years ago
Stocker
e15415413b
Add missing parameters to certain methods
- slowmode_delay and reason in Message.create_thread
- slowmode_delay in TextChannel.create_thread
- reason in Guild.edit_widget
3 years ago
Haruka
1bfe3bdff1
Fix bug in PartialMessageable.trigger_typing
3 years ago
Josh
147948af9b
Use typing.Self throughout library
3 years ago
Nadir Chowdhury
3c6279b947
Implement Guild Scheduled Events
3 years ago
Josh
2b69b5d545
Remove discord.InvalidArgument
This uses TypeError and ValueError instead.
3 years ago
Vaskel
86797dd9ab
Add reason param to purge and delete_messages
Co-authored-by: Danny <[email protected] >
3 years ago
dolfies
458650315b
Add Messageable.ack() and remove DMChannel._from_message
3 years ago
jack1142
fd4c5a65ed
Remove topic from StageChannel.edit's overload
3 years ago
Rapptz
0eb2f32399
Remove VoiceRegion enum and Guild.region attribute
This has been marked deprecated by Discord and it was more or less
usually out of date due to the pace they added them anyway.
3 years ago
Josh
3ce00abeae
Fix some type-check errors
3 years ago
Rapptz
6c2ea4f0a0
Fix some type ignores in backoff and channel
3 years ago
mniip
22b06e7bf8
Fix TextChannel.archived_threads
Threads are now returned in a consistent order if multiple requests are
made. The server-side limit is [2, 100] threads per request.
3 years ago
jack1142
45b9585910
Remove versionchanged in PartialMessageable
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
Josh
4dbe1af32f
Update sphinx and fix documentation issues
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
Josh
4248bb3717
Add invitable to TextChannel.create_thread
3 years ago
dolfies
332e408658
various changes; prepare for scheduled event support
3 years ago
dolfies
887e83de90
Small forgotten things
3 years ago
dolfies
da57fd0e68
Add Object to permission overwrites, channel jump urls, command iterators
3 years ago
dolfies
13b6ab07fd
Further improve thread events
3 years ago
dolfies
8ed7091d9d
Improve thread event parsing and add DM closing
3 years ago
dolfies
d20b444bfb
Preliminary thread support
3 years ago
dolfies
a9fa3ea862
Add missing import
4 years ago
dolfies
1ad6c07054
Add _private_channel_factory
4 years ago
dolfies
3429980d0c
Migrate
4 years ago
James Gayfer
4aafa39e8c
Update thread permissions
Discord has renamed / repurposed "Use Public Threads" and "Use Private
Threads", as well as added a new permission "Send Messages in Threads".
For more information, see:
https://github.com/discord/discord-api-docs/pull/3672
4 years ago
Rapptz
dd7d4b8e7f
Use a thread values view when constructing TextChannel.threads
Avoids an accidental O(n^2) situation.
4 years ago
Rapptz
490bbffc93
Remove in-place edits and return fresh instances instead
Fixes #4098
4 years ago
Stocker
ae01a96bef
Add missing type: ignore and missing typehint to channel.py
4 years ago
James Gayfer
489e5f3288
Use channel default auto archive duration
Currently creating a new thread uses a default auto archive duration of
1440 minutes, or 1 day.
Rather than prescribing our own default, we can use the default auto
archive duration that is set on the channel. This ensures that newly
created threads will respect the default auto archive duration as
prescribed by the user.
4 years ago
Rapptz
b73f02b9c3
Remove deprecated TextChannel.active_threads for Guild version
This also fills in the ThreadMember data from the endpoint
4 years ago