MajorTanya
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
Soheab
814ce3c8ee
Add command target to MessageInteractionMetadata
2024-11-09 06:19:43 -05:00
Soheab
c7305b022c
[commands] Respect enabled kwarg for hybrid app commands
2024-11-07 03:07:20 -05:00
Steve C
af75985730
Fix incorrect import
2024-10-30 20:56:37 -04:00
Michael H
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
Rapptz
ed615887f0
Handle improper 1000 closures by Discord
2024-10-28 18:11:33 -04:00
Rapptz
a0b0a97e52
Support enforce_nonce and add random nonce for message creation
2024-10-27 14:49:41 -04:00
Rapptz
e94fb45527
Add note about using venvs on Linux
2024-10-22 19:27:02 -04:00
Steve C
c8ecbd8d10
Add Message.forward flag
2024-10-22 12:01:34 -04:00
Soheab
354ae4208c
Fix abc.GuildChannel.clone implementations
2024-10-16 18:49:41 -04:00
Soheab
c5e74068f0
[commands] Unwrap Parameter if given as default to commands.parameter
2024-10-16 18:48:49 -04:00
Soheab
b0c66b7734
Fix NameError in sku.py
2024-10-16 17:43:35 -04:00
PythonCoderAS
9da131ed26
Fix variance typing issue with CommandTree.error decorator
2024-10-14 18:58:24 -04:00
Rapptz
ca85782b35
[commands] Fix Context.defer unconditionally deferring
2024-10-13 14:26:40 -04:00
z03h
442ad40ab2
[commands] Add SoundboardSoundConverter
2024-10-13 02:49:50 -04:00
Rapptz
5734996aaf
Fix soundboard sounds event data type
...
Closes #9969
2024-10-12 18:51:21 -04:00
z03h
20875646a3
Fix MessageReferenceType not being public
2024-10-12 18:48:22 -04:00
Andrin
b207c8a1ac
[commands] Add perms object param to default_permissions decorator
...
Closes #9951
2024-10-12 13:01:54 -04:00
DA344
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
Sherlock
b11f19a397
Add proxy support for get_from_cdn
2024-10-11 15:31:47 -04:00
owocado
48cf500e09
Fix Message.system_content for role_subscription_purchase renewal type
2024-10-11 02:08:27 -04:00
Soheab
b3141db6e9
Add support for messages with type purchase_notification
2024-10-10 19:43:07 -04:00
owocado
04b8f385b1
Remove leftover print statement
2024-10-10 18:32:58 -04:00
Andrin
a5f9350ff2
Add category parameter to abc.GuildChannel.clone
2024-10-10 05:22:52 -04:00
Andrin
20c543f672
Add support for message call
2024-10-10 05:21:59 -04:00
iyad-f
9d7c253535
Add missing error for Message.edit
2024-10-09 18:11:27 -04:00
MCausc78
58b6929aa5
Add SKU subscriptions support
2024-10-09 18:04:14 -04:00
Josh
0ce75f3f53
[commands] Fix issue with category cooldowns outside of guild channels
2024-10-09 17:51:00 -04:00
Gooraeng
1ad45f585f
Add missing error for Guild.fetch_automod_rule
2024-10-09 17:46:07 -04:00
Mysty
ec9fd57254
Add support for AEAD XChaCha20 Poly1305 encryption mode
2024-10-09 17:33:37 -04:00
Lilly Rose Berner
91f300a28a
Add zstd gateway compression to speed profile
2024-10-09 17:30:03 -04:00
lmaotrigine
d10e70e04c
[docs] Fix spelling
2024-10-09 17:29:15 -04:00
Michael H
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
Soheab
053f29c96c
Update all channel clone implementations
2024-10-09 17:27:02 -04:00
Jun-Ah 준아
0298f81a5c
Add more tests for colour, embeds, files, buttons and modals
2024-10-09 17:15:37 -04:00
Andrin
a70217a719
Support for Soundboard and VC effects
2024-10-09 17:05:17 -04:00
Michael H
59f877fcf0
Fix and add test for missing discord.Permission bits
2024-09-02 10:53:31 -04:00
Rapptz
df4b1c88df
Move MissingApplicationID to top-level discord namespace
2024-08-31 08:51:56 -04:00
Rapptz
66d74054dd
Remove outdated leftover comment about polls
2024-08-31 08:32:52 -04:00
Rapptz
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
Rapptz
dee5bf65c6
Update MemberFlags to have newest values
2024-08-29 16:15:14 -04:00
owocado
d3e63a0162
Fix Guild.invites_paused method
2024-08-29 06:08:00 -04:00
Michael H
6d8198126a
Remove aiodns from being used on Windows
2024-08-29 03:05:35 -04:00
Rapptz
a08f7a14ff
Add a warning if interaction endpoint URL is set on login
2024-08-29 03:04:14 -04:00
Soheab
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
Andrin
62e52803a7
Add support Member.fetch_voice
2024-08-28 16:36:22 -04:00
Soheab
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
Deep Jain
643a7f4e1d
Add DummyCookieJar to client owned ClientSession
2024-08-28 16:21:41 -04:00
Rapptz
624b5b7643
Use fallback audioop package for Python v3.13 or higher
...
Fix #9477
2024-08-28 16:17:08 -04:00
Jakub Kuczys
aeab0d48fd
Fix stacklevel for Message.interaction deprecation warning
2024-08-28 16:15:58 -04:00