Commit Graph

333 Commits

Author SHA1 Message Date
44a44e938f Reformat entire project with ruff instead of black 2025-08-18 20:16:10 -04:00
705eb2c2a5 Update to support new pin endpoints 2025-08-13 20:47:14 -04:00
50caa3c82c Add support for components V2
Co-authored-by: Michael H <michael@michaelhall.tech>
Co-authored-by: Soheab <33902984+Soheab@users.noreply.github.com>
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com>
Co-authored-by: Jay3332 <40323796+jay3332@users.noreply.github.com>
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2025-08-13 20:37:23 -04:00
6ec2e5329b Deprecate with_expiration param in fetch_invite 2025-08-12 03:18:24 -04:00
7b3f798044 Add support for guild onboarding
Co-authored-by: Josh <8677174+bijij@users.noreply.github.com>
Co-authored-by: Josh <josh.ja.butt@gmail.com>
Co-authored-by: numbermaniac <5206120+numbermaniac@users.noreply.github.com>
Co-authored-by: Andrin <65789180+Puncher1@users.noreply.github.com>
Co-authored-by: Andrin Schaller <65789180+codeofandrin@users.noreply.github.com>
Co-authored-by: DA344 <108473820+DA-344@users.noreply.github.com>
2025-08-08 03:10:32 -04:00
Mak
cb7300990f Add role parameters to support new gradient and holographic roles
Co-authored-by: dolfies <jeyalfie47@gmail.com>
Co-authored-by: DA344 <108473820+DA-344@users.noreply.github.com>
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2025-07-07 23:07:56 -04:00
774b934f74 Add support for guest invites 2025-07-02 18:59:40 -04:00
20055e7cc1 Fix calculation of hashed rate limit keys 2025-06-25 21:05:13 -04:00
4862ea22fd Return invites when deleting them via Invite.delete or Client.delete_invite 2025-06-20 15:03:29 -04:00
b28a4a115e Fix potentially stuck ratelimit buckets 2025-06-20 14:31:55 -04:00
fa158a5eba Add support for getting and editing integration_types_config application field 2025-02-17 20:21:19 -05:00
eb15aa8ca4 Add exclude_deleted parameter to Client.entitlements 2025-01-15 18:19:49 -05:00
fcd9239b33 Add Client.fetch_guild_preview method 2025-01-15 18:01:47 -05:00
9806aeb831 Add public method to get session start limits 2024-12-01 16:19:09 -05:00
e1b6310ef3 Remove / from being safe from URI encoding when constructing paths 2024-11-23 22:04:57 -05:00
a0b0a97e52 Support enforce_nonce and add random nonce for message creation 2024-10-27 14:49:41 -04:00
b11f19a397 Add proxy support for get_from_cdn 2024-10-11 15:31:47 -04:00
04b8f385b1 Remove leftover print statement 2024-10-10 18:32:58 -04:00
58b6929aa5 Add SKU subscriptions support 2024-10-09 18:04:14 -04:00
91f300a28a Add zstd gateway compression to speed profile 2024-10-09 17:30:03 -04:00
a70217a719 Support for Soundboard and VC effects 2024-10-09 17:05:17 -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
643a7f4e1d Add DummyCookieJar to client owned ClientSession 2024-08-28 16:21:41 -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
9ab938a9ea Add Guild.fetch_role 2024-08-28 15:54:34 -04:00
f77ba711ba Add reaction type to raw events and users iterator 2024-05-18 14:33:26 -04:00
e43bd8692c Add support for Polls
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com>
Co-authored-by: Josh <8677174+bijij@users.noreply.github.com>
Co-authored-by: Trevor Flahardy <75498301+trevorflahardy@users.noreply.github.com>
2024-05-10 06:14:12 -04:00
2892401992 Add support for one-time purchases 2024-05-04 23:24:34 -04:00
ded9c5d87b Add support for bulk banning members 2024-03-15 18:05:35 -04:00
851c857a36 Add support for guild incidents
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2024-01-26 20:02:11 -05:00
9ce733321b Add support for setting voice channel status 2023-12-26 05:32:21 -05:00
50190e088e Add applied_tags param to Webhook.send 2023-12-12 17:13:55 -05:00
56c67d3967 Implement editing application info 2023-11-20 04:33:56 -05:00
a9936c2da5 Fix typo in HTTPClient create_entitlement 2023-11-19 19:08:20 -05:00
ef0944047e Fix SKU return type and documentation 2023-10-21 09:32:47 -04:00
99618c823a Add support for premium app integrations
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
Co-authored-by: Lucas Hardt <lucas.hardt@fu-berlin.de>
Co-authored-by: Andrin S. <65789180+Puncher1@users.noreply.github.com>
2023-10-19 07:27:29 -04:00
ebe2661f7d Add missing scheduled_event field to StageChannel.create_instance 2023-10-01 13:41:07 -04:00
630b2a1e55 Update pyright version 2023-07-01 18:26:27 -04:00
e6d2d82803 Set socket family of connector to AF_INET
- discord doesn't support ipv6
- prevents issues with hosts with DNS64 enabled
- resolves #9442
2023-06-04 18:11:16 -04:00
66689e16e8 Add with_counts param to fetch_guilds 2023-05-19 20:47:16 -04:00
bee2db805d Add and change Guild attributes and Guild.edit params 2023-04-18 08:58:50 -04:00
2ca1a3a9a4 Add mfa_level parameter to Guild.edit 2023-03-16 07:15:12 -04:00
7db197ef25 Add default_reaction_emoji and default_forum_layout to create_forum 2023-03-12 22:17:48 -04:00
dc9fb1fd84 Add missing param send_start_notification to create_instance 2023-03-06 20:15:22 -05:00
a1295868a6 Add support for default_sort_order in ForumChannel 2023-03-05 17:30:23 -05:00
6af6f82411 Fix audit log pagination logic 2023-02-27 06:15:28 -05:00
cbc46e0973 Add support for ForumChannel.default_layout 2023-01-10 16:43:18 -05:00
a098867a4d Fix certain parameters not being respected in Guild.create_forum 2022-11-27 23:51:52 -05:00