LightSage
9d17c3acde
Fix scope typo in FAQ
3 years ago
z03h
cdf787186e
Add VoiceChannel and Thread to isinstance checks
3 years ago
z03h
9450a8e972
[commands] Change FlagConverter to always raise BadFlagArgument
3 years ago
Lilly Rose Berner
7267d18d9e
Improve component typing
3 years ago
Rapptz
b7e25645dc
Fix audit log bulk message delete not exposing count
3 years ago
Rapptz
573bb32a1e
Fallback to an unavailable guild instead of an Object in interactions
3 years ago
tomy
781b297ac9
Add intents to python -m discord newbot
3 years ago
invalid-user
8eb2e19c41
Add more detailed description to accent_colour
3 years ago
Rapptz
f780b0a283
Add setting to fallback to global command if guild command isn't found
3 years ago
Rapptz
6e2fcd4762
[commands] Assign current parameter and argument in hybrid commands
3 years ago
Rapptz
863df7d049
Add support for discord.Thread annotation in app commands
3 years ago
Rapptz
6d55b96fa7
[commands] Fix unsupported discord converters in hybrid commands
These are things that are supported in regular commands but not in
application commands, such as discord.Colour, discord.Game, or
discord.Emoji.
3 years ago
Rapptz
63e50bc369
Don't hotlink typing.List, typing.Dict, or typing.Tuple
3 years ago
Rapptz
06e8683d01
[commands] Fix flag_converter attribute not being properly copied
3 years ago
Rapptz
cc3e714338
Fix typo in documentation and mention name kwarg interaction
3 years ago
Rapptz
15ceca1e63
[commands] Add support for FlagConverter in hybrid commands
This works by unpacking and repacking the flag arguments in a flag.
If an unsupported type annotation is found then it will error at
definition time.
3 years ago
xCirno
1607b6978b
Add widget_enabled attribute to Guild
3 years ago
Waylander
23065db804
Update minimum aiohttp dependency
3 years ago
Rapptz
d319539edb
[commands] Fix broken examples in commands.param documentation
3 years ago
Rapptz
40176bb71b
Fix bound method autocomplete callbacks not working
This also adds some regression tests
3 years ago
Rapptz
b2929513cc
Update modal example for latest changes
3 years ago
I. Ahmad
96bada03f4
Add support for application tags and install params
3 years ago
Rapptz
c779e34fa0
Use explicit UTF-8 encoding in SyncWebhook
3 years ago
Server Bot
902aa245a4
Swap order of arguments in Modal.on_error
3 years ago
Rapptz
bd3ce597e1
[commands] Fix app command children not being copied in HybridGroup
This degenerate case is only triggered inside cogs when using the
app_command property to define commands, such as this:
class X(commands.Cog):
@commands.hybrid_group()
async def foo(self, ctx):
...
@foo.app_command.command()
async def bar(self, interaction):
...
3 years ago
Rapptz
85ad33eb35
Fix formatting issue in webhook
3 years ago
Rapptz
4dd5cc2bc9
Pass proxy information to interactions and webhooks
Fix #7918
3 years ago
Rapptz
1df3ed861c
Fix broken HTTPClient.recreate code to actually clear session
3 years ago
Rapptz
0502c6a0d2
Fix two styling nits with fmt: off
3 years ago
Rapptz
fbd57ffa58
Add FAQ entry for disabling all items in a View on timeout
3 years ago
Rapptz
2bfbd1a979
Prefer code-block directive over :: in faq.rst
3 years ago
xCirno
6901907b69
[commands] Add seealso directive in functions referencing checks
3 years ago
z03h
bd727d2b0c
Add edit and delete methods to AppCommand
3 years ago
Rapptz
9793fba338
[commands] Add support for discord.Attachment converters
3 years ago
Rapptz
d8846570ae
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
ccc737eb07
[commands] Add support for with_app_command in hybrid commands
This allows the user to make a text-only command without it registering
as an application command
3 years ago
I. Ahmad
e3ea4706f9
[types] Remove auto archive duration related guild features
3 years ago
Jonah Lawrence
1451074d66
Return embed from clear_fields and remove_field
3 years ago
Var
7b65be9d25
[commands] Fix broken None reference
Co-authored-by: Danny <[email protected] >
3 years ago
Rapptz
b9b6dc960f
Add aiohttp[speedups] dependencies to discord.py[speed]
3 years ago
Rapptz
d56f5150fa
Fix oversight of edit parameters not being keyword only
3 years ago
Rapptz
4733a499a5
Fix documentation build for Client.get_partial_messageable
3 years ago
Rapptz
b7ac0a02ca
Fix documentation of PartialMessageable.jump_url
3 years ago
Rapptz
c22b6dc2cd
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
8699d2139a
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
e9c7c09ebf
Add guild avatar to on_member_update docs
3 years ago
Rapptz
eee65ac39b
[commands] Pass permissions v2 information to HybridGroup
3 years ago
Michael H
d0667d08e3
[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
Bryan Forbes
4a73de946a
Change dm_permissons to dm_permission
3 years ago
Rapptz
79d34fbe78
Change Select.type to use a Literal
3 years ago