Commit Graph

5150 Commits

Author SHA1 Message Date
ff2ad34be5 Add support for multiple subscription tier SKUs 2025-01-19 04:22:03 -05:00
743ef27dd7 [commands] Correct ExtensionNotFound error message
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2025-01-18 23:31:02 -05:00
Dep
b1b736971a Added scopeless kwarg to discord.utils.oauth_url 2025-01-17 04:13:59 -05:00
d5c80b6cf5 Add optional dev dependencies 2025-01-16 03:43:22 -05:00
d95605839f [commands] Fix _fallback attr not being set on replace for Parameter 2025-01-15 19:02:39 -05:00
7db391189d Add __repr__ to Interaction 2025-01-15 19:01:42 -05:00
tom
2c3938dd51 Update Client.create_application_emoji docs 2025-01-15 19:01:09 -05:00
1edec93ed3 Update Member.timed_out_until docstring 2025-01-15 18:59:09 -05:00
fa1cc00a29 Return new instance in Poll.end to avoid inconsistencies 2025-01-15 18:57:46 -05:00
1537102402 Temporary dependency for docs extra on python 3.13+ 2025-01-15 18:50:59 -05:00
cf6d7ff47a Fix bug due to typo in async pagination of entitlements loop 2025-01-15 18:50:40 -05:00
55974ebde8 Fix MessageSnapshot sticker_items typo 2025-01-15 18:40:16 -05:00
1646471ab8 Revert "Bump Sphinx to 5.3.0"
This reverts commit bb5a4703a7.
2025-01-15 18:33:12 -05:00
7c8503fefb Fix callable FlagConverter defaults on hybrid commands
fix: Callable FlagConverter defaults being returned as-is on interaction based calls.
2025-01-15 18:27:03 -05:00
ed95f2f106 Parse full message for raw message edit event 2025-01-15 18:25:57 -05:00
9dc8e2712a Add ForumChannel.members property 2025-01-15 18:22:28 -05:00
6214942f86 Fix SessionStartLimits and SKU.subscriptions docstrings 2025-01-15 18:22:04 -05:00
eb15aa8ca4 Add exclude_deleted parameter to Client.entitlements 2025-01-15 18:19:49 -05:00
f2aa0b833c [tasks] Fix race condition with set_result 2025-01-15 18:18:02 -05:00
bb5a4703a7 Bump Sphinx to 5.3.0 2025-01-15 18:17:18 -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
7f95357041 Add mention property to PartialMessageable 2024-12-01 16:10:19 -05:00
e1b6310ef3 Remove / from being safe from URI encoding when constructing paths 2024-11-23 22:04:57 -05:00
5c4c281f05 Sanitize invite argument before calling the invite info endpoint
Fixes a potential path traversal bug that can lead you to superfluously
and erroneously call a separate endpoint.
2024-11-23 21:48:45 -05:00
7db879b5bd Clear up add_roles and remove_roles documentation
Using "member" here can mislead a reader into believing this
restriction is referring to the member being edited rather than the
client/bot that is executing the edit.
2024-11-09 06:20:01 -05:00
814ce3c8ee Add command target to MessageInteractionMetadata 2024-11-09 06:19:43 -05:00
c7305b022c [commands] Respect enabled kwarg for hybrid app commands 2024-11-07 03:07:20 -05:00
af75985730 Fix incorrect import 2024-10-30 20:56:37 -04:00
d08fd59434 Avoid returning in finally
Specifically reraise KeyboardInterrupt, SystemExit
Swallow other BaseExceptions due to the way the standard library uses
them and the intent of this function
2024-10-30 08:08:45 -04:00
ed615887f0 Handle improper 1000 closures by Discord 2024-10-28 18:11:33 -04:00
a0b0a97e52 Support enforce_nonce and add random nonce for message creation 2024-10-27 14:49:41 -04:00
e94fb45527 Add note about using venvs on Linux 2024-10-22 19:27:02 -04:00
c8ecbd8d10 Add Message.forward flag 2024-10-22 12:01:34 -04:00
354ae4208c Fix abc.GuildChannel.clone implementations 2024-10-16 18:49:41 -04:00
c5e74068f0 [commands] Unwrap Parameter if given as default to commands.parameter 2024-10-16 18:48:49 -04:00
b0c66b7734 Fix NameError in sku.py 2024-10-16 17:43:35 -04:00
9da131ed26 Fix variance typing issue with CommandTree.error decorator 2024-10-14 18:58:24 -04:00
ca85782b35 [commands] Fix Context.defer unconditionally deferring 2024-10-13 14:26:40 -04:00
442ad40ab2 [commands] Add SoundboardSoundConverter 2024-10-13 02:49:50 -04:00
5734996aaf Fix soundboard sounds event data type
Closes #9969
2024-10-12 18:51:21 -04:00
20875646a3 Fix MessageReferenceType not being public 2024-10-12 18:48:22 -04:00
b207c8a1ac [commands] Add perms object param to default_permissions decorator
Closes #9951
2024-10-12 13:01:54 -04:00
99a7093c34 Add support for message forwarding
Co-authored-by: Red Magnos <redmagnos@gmail.com>
Co-authored-by: MCausc78 <mcausc78@gmail.com>
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com>
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2024-10-11 15:34:18 -04:00
b11f19a397 Add proxy support for get_from_cdn 2024-10-11 15:31:47 -04:00
48cf500e09 Fix Message.system_content for role_subscription_purchase renewal type 2024-10-11 02:08:27 -04:00
b3141db6e9 Add support for messages with type purchase_notification 2024-10-10 19:43:07 -04:00
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