Rapptz
6beef898c6
Rename instances of nitro to premium
4 years ago
Nadir Chowdhury
60d82cf908
implement guild stickers
4 years ago
Rapptz
dac0267e28
Allow creating a public thread without a starter message
4 years ago
Nadir Chowdhury
96b9a0e09d
Add reason kwarg to more methods
4 years ago
Willy
23852404ed
Fix incorrect typehint in send_message
4 years ago
Lilly Rose Berner
0aa825557d
Re-try requests on 504 error and raise correct error
4 years ago
Rapptz
88d825a803
Allow use of orjson instead of json
The difference in speed seems negligible at start up, which is when
most time is taken for actually parsing JSON. I could potentially be
missing something but profiling didn't point to any discernable
difference.
4 years ago
Rapptz
750ba88f2c
Fix typing errors with Client
4 years ago
Rapptz
7d9074db8a
Fix type errors and potentially unbound code in http.py
4 years ago
Rapptz
6f3b8072d6
Rework User.edit to have proper typing
4 years ago
Aomi Vel
47e6a754e4
Add support for sending multiple embeds
4 years ago
Josh
35a9533e8d
Type-Hint http.py
4 years ago
Rapptz
d0d2d7ea62
Clarify actions that require manage_threads permission
4 years ago
Rapptz
72c66a1706
Bump gateway API to v9
4 years ago
Rapptz
4a4e73ec14
Update thread typings and payloads to match documentation
4 years ago
Rapptz
c1ce3b949f
Implement remaining HTTP endpoints on threads
I'm not sure if I missed any -- but this is the entire documented set
so far.
4 years ago
Rapptz
68c7c538f5
First pass at preliminary thread support
This is missing a lot of functionality right now, such as two gateway
events and all the HTTP CRUD endpoints.
4 years ago
Nadir Chowdhury
94bbdc154c
update types subpackage with latest docs
4 years ago
MhmCats
0847085661
Add support for editing guild widgets
4 years ago
Nadir Chowdhury
9f98a9a87f
Implement StageInstance
4 years ago
Zomatree
b48f510e15
Add invite targets for voice channel invites
4 years ago
Rapptz
98570793e4
Add initial support for buttons and components
4 years ago
Rapptz
1bf7aadf94
Typehint emoji classes
4 years ago
Rapptz
c31946f29f
Type hint GuildChannel and don't make it a Protocol
This reverts GuildChannel back into a base class mixin.
4 years ago
Nadir Chowdhury
63974ec46d
Add discovery_splash and community field to Guild.edit
4 years ago
Nadir Chowdhury
e762f55847
Add fetch_invite with with_expiration
4 years ago
Joey van Langen
4fcbe75d3b
Fix guild application command endpoints
4 years ago
Nadir Chowdhury
b705173676
Add types for ApplicationCommandPermissions & co
4 years ago
z03h
304229071f
Add VoiceChannel.video_quality_mode
4 years ago
Nadir Chowdhury
57dbb37a52
Add `fetch_message` for webhooks
4 years ago
Rapptz
a30ec197c2
Some initial response typings
4 years ago
Rapptz
1f74b051a8
Fix rate limit handling with retry_after precision change
4 years ago
Rapptz
a6f7213c89
Rewrite webhooks to play better with typings and rate limits
This unfortunately required splitting the types into two. This led to
a lot of unfortunate code duplication that I didn't really enjoy
writing.
The new design allows users to pass an authentication token to make
webhook requests without the webhook token and allows to finally
edit the webhook channel.
The new design also uses a contextvar to store rate limiting
information so multiple instances or recreating instances no longer
clears the ratelimiting state since it's now essentially a "global"
object.
Closes #6525 , closes #6662 , closes #2509 , closes #1761
4 years ago
Rapptz
d85805ab6d
First pass at supporting v8 API
4 years ago
Rapptz
99fc950510
Use f-strings in more places that were missed.
4 years ago
Rapptz
1d5805ebcb
Revert "Remove unused group functionality"
This reverts commit d69b2f0af5
.
4 years ago
Steve C
3c9aed9102
Fix AttributeError on HTTPClient.send_file to be send_files
4 years ago
Nadir Chowdhury
7f0a398c1e
Use `format_map` instead of `format` for `Route.url`
4 years ago
Rapptz
d69b2f0af5
Remove unused group functionality
4 years ago
Rapptz
84e2ff0bc7
Reformat HTTPClient and add interaction endpoints
4 years ago
Rapptz
54288879e2
Remove userbot functionality
This has a lot of legacy and cruft so there may be some stuff I've
missed but this first pass is enough to get a clear separation.
4 years ago
Rapptz
9d39b135f4
Modernize code to use f-strings
This also removes the encoding on the top, since Python 3 does it by
default. It also changes some methods to use `yield from`.
4 years ago
Nadir Chowdhury
1b2688518e
Implement StageChannel and related methods
4 years ago
Tarek
6524869ddd
Implement voice region changing for voice channels
4 years ago
Rapptz
1c8d1b0289
Recreate aiohttp.FormData objects during request retries
Fixes #6531
4 years ago
z03h
fbb7ac6be1
Add roles to guild.estimate_pruned_members
4 years ago
Nadir Chowdhury
7d345e8e4e
remove trailing whitespace
4 years ago
Nadir Chowdhury
fb773dc1dd
Add remaining template endpoints
4 years ago
Nihaal Sangha
69bdc3a184
Change copyright year to present
4 years ago
Rapptz
3a75816ba1
Support setting the preferred locale via Guild.edit
Fix #6267
4 years ago