Commit Graph

5103 Commits

Author SHA1 Message Date
04b8f385b1 Remove leftover print statement 2024-10-10 18:32:58 -04:00
a5f9350ff2 Add category parameter to abc.GuildChannel.clone 2024-10-10 05:22:52 -04:00
20c543f672 Add support for message call 2024-10-10 05:21:59 -04:00
9d7c253535 Add missing error for Message.edit 2024-10-09 18:11:27 -04:00
58b6929aa5 Add SKU subscriptions support 2024-10-09 18:04:14 -04:00
0ce75f3f53 [commands] Fix issue with category cooldowns outside of guild channels 2024-10-09 17:51:00 -04:00
1ad45f585f Add missing error for Guild.fetch_automod_rule 2024-10-09 17:46:07 -04:00
ec9fd57254 Add support for AEAD XChaCha20 Poly1305 encryption mode 2024-10-09 17:33:37 -04:00
91f300a28a Add zstd gateway compression to speed profile 2024-10-09 17:30:03 -04:00
d10e70e04c [docs] Fix spelling 2024-10-09 17:29:15 -04:00
3e168a93bf Improve typing of app command transformers
This allows subclasses of transformers to specify a specialization for
interaction without violating covariance of parameter types
2024-10-09 17:27:55 -04:00
053f29c96c Update all channel clone implementations 2024-10-09 17:27:02 -04:00
0298f81a5c Add more tests for colour, embeds, files, buttons and modals 2024-10-09 17:15:37 -04:00
a70217a719 Support for Soundboard and VC effects 2024-10-09 17:05:17 -04:00
59f877fcf0 Fix and add test for missing discord.Permission bits 2024-09-02 10:53:31 -04:00
df4b1c88df Move MissingApplicationID to top-level discord namespace 2024-08-31 08:51:56 -04:00
66d74054dd Remove outdated leftover comment about polls 2024-08-31 08:32:52 -04:00
733c583b72 Remove _get_poll lookup in Message constructor
This was triggering a terrible performance regression for no good
reason for all created messages that didn't have a poll, which is
essentially 99.99% of messages leading to MESSAGE_CREATE dispatches
having degraded performance.
2024-08-31 08:29:05 -04:00
dee5bf65c6 Update MemberFlags to have newest values 2024-08-29 16:15:14 -04:00
d3e63a0162 Fix Guild.invites_paused method 2024-08-29 06:08:00 -04:00
6d8198126a Remove aiodns from being used on Windows 2024-08-29 03:05:35 -04:00
a08f7a14ff Add a warning if interaction endpoint URL is set on login 2024-08-29 03:04:14 -04:00
463b4bd570 Add support for application emojis
Co-authored-by: DA344 <108473820+DA-344@users.noreply.github.com>
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2024-08-28 17:15:15 -04:00
62e52803a7 Add support Member.fetch_voice 2024-08-28 16:36:22 -04:00
fde7131d26 Add missing guild incident fields
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com>
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2024-08-28 16:30:18 -04:00
643a7f4e1d Add DummyCookieJar to client owned ClientSession 2024-08-28 16:21:41 -04:00
624b5b7643 Use fallback audioop package for Python v3.13 or higher
Fix #9477
2024-08-28 16:17:08 -04:00
aeab0d48fd Fix stacklevel for Message.interaction deprecation warning 2024-08-28 16:15:58 -04:00
34bf026a02 Add support for get sticker pack 2024-08-28 16:15:26 -04:00
f9dbe60fc4 Revert "Set socket family of connector to AF_INET"
This change was made since Discord doesn't support IPv6, and there were
concerns about clients with DNS64 enabled without NAT64.

However, this breaks hosts who don't have v4 connectivity and are
_actually_ running NAT64.

Having DNS64 without NAT64 is really an issue on the client's end. It
would break far more than just discord.py, so I don't think we should be
concerned about those cases.
2024-08-28 16:05:39 -04:00
d578709640 Add approximate_user_install_count to AppInfo 2024-08-28 16:00:27 -04:00
9ab938a9ea Add Guild.fetch_role 2024-08-28 15:54:34 -04:00
3018fee443 Remove stale documentation in Embed.set_thumbnail 2024-08-28 15:51:17 -04:00
8104ff2ad4 [docs] Fix typehint for Embed.set_(image,thumbnail) 2024-08-28 15:50:51 -04:00
794f2bf149 [docs] correct hyperlink to discord docs 2024-08-28 15:48:38 -04:00
7cf6df166d Fix url for GIF StickerItem 2024-08-28 15:48:19 -04:00
1c6f3c5ff1 [docs] Remove pack_id attribute from Sticker
[docs] Remove unnecessary pack_id
2024-08-28 15:37:32 -04:00
0a2faa6f5d Fix default_avatar for team user and webhook 2024-08-28 15:34:33 -04:00
a6d1dc0455 Add support for getting the attachment's title 2024-08-28 15:32:20 -04:00
38bbfed717 Fix Poll.duration rounding error 2024-08-28 15:31:38 -04:00
da89fbc8b5 Re-add client connector param
This provides paths for users to handle two entirely seperate issues

- Alternative fix for #9870
- Allows handling of windows sslcontext issues without a global
truststore.inject_into_ssl() use
2024-08-28 15:23:51 -04:00
c41cadfa91 Fix introduced potential TypeError with _get_command_error 2024-08-28 15:22:41 -04:00
a183a56dd9 Fix _get_command_error improperly handling some error messages 2024-08-28 15:11:12 -04:00
ff638d393d Fix Polls limiting duration at 7 days 2024-07-21 19:15:38 -04:00
04b2e494f7 Fix documentation for abc.GuildChannel.move to be more clear 2024-07-21 18:44:07 -04:00
86dd29a8e8 Properly copy banner information on updates 2024-07-16 03:03:50 -04:00
a13fc8f835 Add support for guild_banner and display_banner 2024-07-15 20:24:35 -04:00
7d3eff9d9d Allow discord.Object use for permissions in channel creation 2024-07-10 07:55:16 -04:00
97ca618570 Fix incorrect Select max option condition 2024-07-05 16:18:01 -04:00
6643784d33 [commands] Clarify Converter.convert exception raising 2024-07-05 15:11:35 -04:00