Andy
db4fd9e883
Fix documentation errors in discord.Invite and on_integration_update
3 years ago
nickofolas
eedb7a422f
Use __getitem__ to access channel_id in MessageReference payloads
3 years ago
Rapptz
72ca280bf2
Add support for new thread_name parameter in Webhook.send
3 years ago
Rapptz
2e49ece810
Add webhook creation methods to ForumChannel
3 years ago
I. Ahmad
0bdc4d7281
Use json_or_text helper for parsing webhook responses
3 years ago
Twentysix
7494a7a5b2
Fix description of user parameter in reaction remove event
3 years ago
Rapptz
aaaba21f09
Fix versionadded docstrings in voice connect methods
3 years ago
Rapptz
41208f7391
Add a new extlink for discord documentation
3 years ago
Sebastian Law
91ca12061c
Use positional args for internal thread methods
3 years ago
zephyrkul
d241e61e63
Add remaining bitwise operators to Flags
3 years ago
Rapptz
cc7bdc2b98
Fix bug in permission resolution when dealing with timed out members
This would lead to timed out members having the read_messages
permission set to True instead of False
3 years ago
Nanashi
e788fe8726
Retry on 524 status code
3 years ago
Rapptz
2c2f80138b
Remove undocumented methods from function signature changes
3 years ago
Rapptz
36b46cfdf3
Change aiohttp object construction to no longer take loop objects
3 years ago
Star Brilliant
5620d6ae1b
Specify required argument types for FFI functions
On arm64 macOS, variadic arguments have special calling convention rules.
Therefore, we must specify the required argument types for ctypes to
pass the arguments correctly.
Apple documentation: https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms#Update-Code-that-Passes-Arguments-to-Variadic-Functions
Fix issue #8046
3 years ago
Wayoshi
49c059b3ca
[commands] fix case_insensitive bug in parse_flags
Co-authored-by: Danny <[email protected] >
3 years ago
Josh
6ad303fc0f
Add dunder or support to Flag types
3 years ago
z03h
1c1636875c
[commands] Fix errors when DynamicCooldown returns None
3 years ago
Ryan H
c90b6cc072
Add Reaction into typehint of add_reaction()
3 years ago
NextChai
bd75e39516
Add PartialIntegration to TargetType
3 years ago
Rapptz
83de745dae
Fix Connectable.connect typing having bad inference if cls is missing
3 years ago
z03h
0d05cd273e
Add VoiceChannel and Thread to isinstance checks
3 years ago
z03h
33039dbd25
[commands] Change FlagConverter to always raise BadFlagArgument
3 years ago
Lilly Rose Berner
e9e2d8cb1c
Improve component typing
3 years ago
invalid-user
5a838f6e0b
Add more detailed description to accent_colour
3 years ago
xCirno
dfff20d5a9
Add widget_enabled attribute to Guild
3 years ago
Rapptz
f4fd87be8d
Use explicit UTF-8 encoding in SyncWebhook
3 years ago
Rapptz
accf9b411b
Fix formatting issue in webhook
3 years ago
Rapptz
97aacb4635
Pass proxy information to interactions and webhooks
Fix #7918
3 years ago
Rapptz
2ce53928d7
Fix broken HTTPClient.recreate code to actually clear session
3 years ago
Rapptz
06b85b0ec0
Fix two styling nits with fmt: off
3 years ago
Rapptz
3a10f3d432
Prefer code-block directive over :: in faq.rst
3 years ago
Rapptz
3f4d4aad17
[commands] Add support for discord.Attachment converters
3 years ago
Rapptz
ba7ebc676f
Remove unnecessary type ignore
Despite this except branch is no longer guarded, the exceptional
case could still happen if an Object is passed or if a future channel
type leads to breakage
3 years ago
Rapptz
73b967019c
Fix documentation build for Client.get_partial_messageable
3 years ago
Rapptz
53f2d63063
Fix documentation of PartialMessageable.jump_url
3 years ago
Rapptz
5ff42bb600
Add guild property to DMChannel, GroupChannel, and PartialMessageable
This improves generic duck typing programming by allowing narrowing
the types by just checking for a None guild attribute.
3 years ago
Rapptz
18ae88b791
Improve generic duck type programming with PartialMessageable
This adds jump_url, permissions_for, and created_at. Luckily, most
cases of this type being constructed already have the guild_id at
creation time.
3 years ago
xCirno
e28f0df411
Add guild avatar to on_member_update docs
3 years ago
Michael H
3a1cda5ff2
[commands] Fix typing of check/check_any
This changes the type information of check decorators to return a
protocol representing that the decorator leaves the underlying object
unchanged while having a .predicate attribute.
resolves #7949
3 years ago
Rapptz
028c7d3d14
Remove extraneous channel assignment
3 years ago
NextChai
07dcb7afba
Replace trigger_typing with awaiting typing context manager
3 years ago
z03h
861cd025f2
Fix wrong variable being returned in audit logs
3 years ago
Rapptz
638b56f474
Return a named tuple with message from ForumChannel.create_thread
3 years ago
Varun J
5afad9f7cc
[commands] fix signature when displayed_default is missing
This makes it so that passing an empty string (or MISSING) to the
displayed_default of commands.Parameter not show up as [name=] or [name=...]
3 years ago
Rapptz
8f4f35ed51
Fix remaining --verifytypes related errors
3 years ago
Rapptz
18120c4726
Update to pyright 1.1.242
3 years ago
Rapptz
89e1196abe
Install requests in CI
3 years ago
Mikey
f14139dc8f
[commands] fix BucketType.default bypassing dynamic_cooldown
3 years ago
z03h
4aa926a503
Fix attribute error for role overwrite auditlog and add threads
3 years ago