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
Rapptz
e13997f35e
Remove region parameters from HTTPClient
3 years ago
Josh
285069de08
Fix types in guild.py
3 years ago
Josh
c8064ba6f2
Type-hint gateway
3 years ago
Rapptz
30e7a2e937
Fix a few more type errors
3 years ago
Rapptz
c7c6d74d8d
Fix type errors in the abc module
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
dede5539ee
Add support for editing message attachments
3 years ago
Rapptz
e14153ddcb
Fix nonce being sent even when not specified
3 years ago
Josh
37f96e3473
Add message_content intent and move to api v10
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
08bee0eeb6
Add support for file/attachment descriptions
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
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
Nadir Chowdhury
d034264973
Type up Guild Scheduled Events
3 years ago
dolfies
16ad1a176c
Remove embeds :(
3 years ago
dolfies
f96282298e
type ignore aiohttp monkeypatch
3 years ago
dolfies
6420dfdc0f
fix client presences/sessions; add timeout capability; remove GuildIterator; add proper team/application support
3 years ago
dolfies
3db2cf1d1e
One more header
3 years ago
dolfies
89aec14869
Remove headers filled in by aiohttp
3 years ago
dolfies
56226fbbab
Support brotli if brotli is installed
3 years ago
dolfies
887e83de90
Small forgotten things
3 years ago
dolfies
942efe7fe2
Also add the http endpoint
3 years ago
dolfies
29128a592a
Forgot a file
3 years ago
dolfies
08934ba22a
Implement welcome screen
3 years ago
dolfies
93b4d06f52
Implement role icons
3 years ago
dolfies
1a1b9cf15a
Implement connections, add fetch_sticker_pack, fix some small issues
3 years ago
dolfies
55e29f5839
Maybe add http arg too
3 years ago
dolfies
cbab87d287
Fix typing errors
3 years ago
dolfies
23fe1092c3
Remove breakpoints (oops)
3 years ago
dolfies
43ae9d5f6b
Implement file descriptions
3 years ago
dolfies
daf4901a53
Add info API
3 years ago
dolfies
9503a1af83
Allow enabling guild_progress_bar
3 years ago
dolfies
13b6ab07fd
Further improve thread events
3 years ago
dolfies
e168fd38a0
Implement button clicking
4 years ago
dolfies
1646421cc0
Implement guild notification settings
4 years ago
dolfies
7b11d8c256
Get it starting
4 years ago
dolfies
1a0453835e
Minor changes
4 years ago
dolfies
8566630665
Migrate member
4 years ago
dolfies
b975ccfa99
Migrate http.py
4 years ago
Danny
e7821be4aa
Add default value for invitable in HTTPClient
4 years ago
Josh
d2ea33e5e9
Add support for invitable thread option
4 years ago
Rapptz
c82739a3be
Fix some typings in HTTPClient to not take strict payload types
4 years ago
Rapptz
cff9ca0288
Fix typings for member HTTP methods
4 years ago
Stocker
400936df69
Fix type for content param in HTTPClient.send_message
4 years ago
Rapptz
4a72201617
Make json conversion functions private
4 years ago