5251 Commits

Author SHA1 Message Date
Rapptz
38c6407ffd Maintain a reference to View dispatched tasks 2025-08-14 00:47:55 -04:00
Rapptz
3fb627d078 Add support for label components and select in modals 2025-08-14 00:47:55 -04:00
Rapptz
9fb74fd7a1 Remove unnecessary TypeGuard 2025-08-13 21:27:38 -04:00
Rapptz
8c1886799d Don't recreate ItemCallbackType 2025-08-13 21:13:17 -04:00
Michael H
439bd71c0d
Upstream change in Python
The prior changes to use of return in finally (#9981) are now
insufficient. Without disclosing their intent when raising the issue,
this was used by them as part of justifying a SyntaxError for working
code outside of the normal process for adding errors, and with it
presenting to end users in a way that breaks downstream user's existing CI

While making the change, I've continued to not log errors like
CancellationError or TimeoutError to users here by default, as it is not an error
they need to be aware of during shutdown given the limited kinds of
BaseException that could raise in this context, see: #9984 for prior
analysis. I've added a debug log should anyone want access to this kind
of failure while debugging gateway close, but due to how asyncio
shutdown happens, this is unlikely to ever log anything useful even in a
library debugging context.
2025-08-13 20:47:41 -04:00
Soheab
705eb2c2a5
Update to support new pin endpoints 2025-08-13 20:47:14 -04:00
DA344
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
Sacul
6ec2e5329b
Deprecate with_expiration param in fetch_invite 2025-08-12 03:18:24 -04:00
Rapptz
ec409a0a7b Guard AppCommandThread.guild attribute access 2025-08-08 03:13:30 -04:00
Sacul
db42eba4fa
Add more attributes to AppCommandChannel/Thread 2025-08-08 03:11:29 -04:00
Soheab
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
Soheab
21fed315c7
Add FAQ about guild specific app commands 2025-08-08 03:09:48 -04:00
owocado
4496df79d0
Fix crash in Activity.__init__ with missing keys
not all activity payloads have `state_url` and `details_url` keys present.
2025-07-30 18:03:36 -04:00
Soheab
cb7f17020d
Deprecate Guild.delete and various parameters for Guild.edit 2025-07-30 17:09:56 -04:00
Soheab
1cd90f8b1c
[commands] Fix converters not working with Optional for hybrids 2025-07-30 17:08:08 -04:00
Soheab
6e7fc133d1
Add support for new RPC Activity fields 2025-07-30 17:03:15 -04:00
Alex Nørgaard
348c7d7873
Fix audit log automod_rule_trigger_type extra missing 2025-07-30 06:01:28 -04:00
owocado
2695fa056a
Fix guild_only app command decorator 2025-07-30 06:00:10 -04:00
shea
ce9f5ad1ba Fix context install decorators to correctly restrict commands 2025-07-29 15:20:05 -04:00
Ankita Tudubucket
22ade98db7
Skip GUILD_MEMBER_ADD if member already cached 2025-07-27 15:09:35 -04:00
Mohammed Aman Jukaku
5b81a99b60
Fix error when sending non-interactive views via partial webhooks 2025-07-27 13:43:21 -04:00
Sacul
e715ad6419
Add support for automod_quarantined_guild_tag member flag 2025-07-27 13:07:19 -04:00
Sacul
5f4a822c2e
Add missing fill_with_flags decorator to InviteFlags class 2025-07-27 13:06:12 -04:00
z03h
0e97ef21aa
Fix key error on role create or delete 2025-07-22 14:45:02 -04:00
blord0
7724764ffe
Add ability to use primary guild (clan) data for users
Co-authored-by: blord0 <admin@blord.xyz>
Co-authored-by: DA344 <108473820+DA-344@users.noreply.github.com>
Co-authored-by: dolfies <jeyalfie47@gmail.com>
2025-07-17 20:41:30 -04:00
Ken-Miles
13dc9c9d16
Fix miswording in docstring about bot.emojis 2025-07-15 19:46:32 -04:00
z03h
a00510988a
Support new role colours in audit log 2025-07-09 13:56:38 -04:00
El Laggron
b1be7dea74
Handle empty guild_ids list for app_commands 2025-07-08 21:16:39 -04:00
DA344
66922cc2d1
Fix documentation on Role secondary and tertiary colours
Fix .. versionadded:: strings on Role.secondary_ and Role.tertiary_ colours
2025-07-08 21:15:07 -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
鏡花水月
2502a783cb
Add BCP47 unicode tags for Locale enum
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2025-07-07 23:06:28 -04:00
Soheab
774b934f74
Add support for guest invites 2025-07-02 18:59:40 -04:00
Joosemi02
59546a4851
Add support for launch_activity interaction response 2025-07-02 18:54:57 -04:00
DA344
2175bd51c0
Fix voice connection issues and upgrade to voice v8 2025-06-30 03:14:23 -04:00
dolfies
20055e7cc1
Fix calculation of hashed rate limit keys 2025-06-25 21:05:13 -04:00
owocado
a62b25c6c0
Add missing attributes in AppCommandChannel 2025-06-20 18:26:36 -04:00
owocado
e9f807e5ec
Fix Thread.applied_tags for media channels 2025-06-20 15:20:20 -04:00
Soheab
7fe1102841
Allow creating NSFW voice/stage channels 2025-06-20 15:07:23 -04:00
Michael H
6af9de0c39
Ensure COPYING notice is included 2025-06-20 15:06:52 -04:00
Soheab
f6e0f72498
Add ability to create a media-only forum channel 2025-06-20 15:04:21 -04:00
owocado
4862ea22fd
Return invites when deleting them via Invite.delete or Client.delete_invite 2025-06-20 15:03:29 -04:00
owocado
d00c124883
Add MessageApplication.__str__ 2025-06-20 15:01:48 -04:00
owocado
fe942d1e16
Properly transform media channels in app commands 2025-06-20 14:59:07 -04:00
owocado
826aa22868
Add platform key in __repr__ method for Game and Streaming 2025-06-20 14:58:30 -04:00
owocado
c524f655be
Use human_join internal helper in BaseChannelTransformer 2025-06-20 14:57:52 -04:00
owocado
2bcbd49bc6
Add __repr__ method to various classes 2025-06-20 14:57:10 -04:00
Roberto Scifo
667e7c9065
Fixed to_dict() bug for user-defined embed classes 2025-06-20 14:55:44 -04:00
Soheab
4a8817af2b
Document return object for Guild.create_template 2025-06-20 14:49:20 -04:00
Gooraeng
adb93f4a60
Add deprecation warning to create_guild functions 2025-06-20 14:36:24 -04:00
Michael H
b28a4a115e
Fix potentially stuck ratelimit buckets 2025-06-20 14:31:55 -04:00