Rapptz
9bf72bd9b0
Remove TextChannel.default_thread_slowmode_delay
This doesn't have meaning on text channels apparently
3 years ago
Rapptz
ba901066ff
Add support for newest ForumChannel changes
This adds the following:
- Forum tag support
- Default reaction support
- Default slowmode for newly created threads
3 years ago
mirnovov
18854c0124
Document get_thread not fetching archived threads
3 years ago
Rapptz
fec36318f7
Change abc.GuildChannel.overwrites to have Object keys if cache failed
Ultimately despite it not being the prettiest, Object keys ended up
being the sanest solution to this without destroying ergonomics.
3 years ago
Rapptz
7c71feac23
Change abc.PrivateChannel to be a proper subclass
This fixes isinstance(thread, discord.abc.PrivateChannel) from
returning True
3 years ago
Rapptz
14240540bb
Change default for purge oldest_first to match history
3 years ago
Alex Nørgaard
4ce3343747
Add Guild.create_forum and CategoryChannel.create_forum
3 years ago
Rapptz
2e49ece810
Add webhook creation methods to ForumChannel
3 years ago
Rapptz
53f2d63063
Fix documentation of PartialMessageable.jump_url
3 years ago
Rapptz
5ff42bb600
Add guild property to DMChannel, GroupChannel, and PartialMessageable
This improves generic duck typing programming by allowing narrowing
the types by just checking for a None guild attribute.
3 years ago
Rapptz
18ae88b791
Improve generic duck type programming with PartialMessageable
This adds jump_url, permissions_for, and created_at. Luckily, most
cases of this type being constructed already have the guild_id at
creation time.
3 years ago
Rapptz
638b56f474
Return a named tuple with message from ForumChannel.create_thread
3 years ago
Rapptz
30be0372ef
Allow creating a news channel in create_text_channel
3 years ago
Rapptz
92445cb193
Address latest breaking change in creating forum posts
3 years ago
lightningyx
abdb1539b8
Add narrowed overloads for edit methods on channels
3 years ago
dolfies
9839e7a0e8
Change Fetch -> Retrieve for last_message documentation
2 years ago
dolfies
9a6c4e1e35
Implement (almost) the entirety of the applications, billing, and store API ( #449 )
* Initial implementation
* Expose various rich methods to fetch the new models
* Add localize parameters and remove useless payment_source parameters from front-facing fetch methods
* Implement fetching and (partially) redeeming gifts
* Slot remaining models
* Correctly document Gift.redeem() channel parameter
* Implement some stuffs, fix more stuffs, add creating/editing skus/store listings
* Various context properties fixes
* Fix various types, expose SubscriptionPlan
* (Partially) implement purchasing SKUs and gift flags
* Finish and clean-up store/applications API implementations
* Implement build uls, missing sub plan params, purchase sku ret
* Fix upload_files() warning
* Formatter pass
* Normalize include_x to with_x, add various small missing things
* Update sub on manual invoice payment instead of returning new object
* Black pass
* Implement missing integrations/applications API shit
* Implement Application.store_listing_sku_id
* Expose richer subscription metadata guild info
* Implement SKU.system_requirements localization and modification
* Black pass
* Implement premium usage
* Implement application whitelist
* Implement active developer program enrollment
* Readd new team members to cache
* Polishing
* Implement leaving active developer program
* Type everything
* Expose everything
* Implement relationship activity statistics, improve model
* Black pass
* Document everything
* Add crunchyroll connection type (#426 )
* Fix type-checking error in PrivateChannel ABC (#427 )
* Update required property fetching to new domain
* Pin black to v22.6
* Get pyright to shut up
* Black pass
* Get pyright to shut up
2 years ago
dolfies
cbc5d706c2
Implement message requests
3 years ago
dolfies
b2d834f898
Cleanup and implement missing setting types (fixes #<deleted-issue>)
3 years ago
dolfies
93791d2ba1
Implement silent group leaving
3 years ago
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