Han Seung Min - 한승민
93af158b0c
Refactor loop code to allow usage of asyncio.run
3 years ago
dolfies
bfec72eb58
Add application-related methods, fix a couple typos
3 years ago
Rapptz
ba2763a4a1
Add private hook for changing the API version
This is mainly a temporary, undocumented, stop gap for bots that are
screwed over from waiting for Discord to grant them the message content
intent.
3 years ago
Rapptz
0330282c5f
Create a default TCPConnector with no limit
The default implementation only allows for 100 concurrent connections
and during heavy sharding (>=100 shards) this can end up freezing
shards.
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
dolfies
571a50cda5
Implement guild member support (and fix a couple other bugs) ( #224 )
* Initial guild member support
* Add back is_guild_evicted() check, fix some documentation/typing, actually use count
* Better error handling
* Fix predicate and chunking on small guilds
* Silence asyncio.CancelledErrors when bot is stopped
* Properly filter events, assert that assert_guild_presence_count() works
* Working events!!!!! (also a fix for sometimes crashing when joining a guild)
* Uniform timeouts
3 years ago
I. Ahmad
8360e4af8d
Add premium_progress_bar_enabled attribute on Guild
3 years ago
Rapptz
fa901afa3a
Add replied_user key when no allowed_mentions is passed in
3 years ago
JDJG Inc. Official
e69428a841
Add with_counts support for Client.fetch_guild
Co-authored-by: Stocker <[email protected] >
Co-authored-by: Danny <[email protected] >
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
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
4 years ago
dolfies
13b6ab07fd
Further improve thread events
4 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