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
Rapptz
ea2d972666
Make global log variable in modules private
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
Rapptz
08a4db3961
Revert "Refactor Client.run to use asyncio.run"
This reverts commit 6e6c8a7b28
.
4 years ago
Rapptz
6e6c8a7b28
Refactor Client.run to use asyncio.run
This also adds asynchronous context manager support to allow for
idiomatic asyncio usage for the lower-level counterpart. At first
I wanted to remove Client.run but I figured that a lot of beginners
would have been confused or not enjoyed the verbosity of the newer
approach of using async-with.
4 years ago
Rapptz
1c40d43fd1
Remove unused log lines in HTTPClient
4 years ago
Rapptz
58ca9e9932
Add TextChannel.default_auto_archive_duration
4 years ago
Rapptz
3a451c9c65
Change payload to use sticker_ids instead of sticker_items
4 years ago
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