Rapptz
af311bff09
Change .pot files to only contain at most 5 context lines
Crowdin did not like having many comments which caused the upload to
fail.
3 years ago
zephyrkul
78a026aae2
Add remaining bitwise operators to Flags
3 years ago
Jakub Kuczys
2ef7ae0778
Update intersphinx url for request library
3 years ago
Rapptz
77baa06a99
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
Rapptz
3dddddc8f9
[commands] Change Context.typing to defer for interaction contexts
3 years ago
Rapptz
ee71366f72
Fetch application_info on login
This allows users to no longer pass application_id when calling sync
inside setup_hook
3 years ago
Rapptz
06c43d6772
[commands] Add support for NSFW commands for hybrid commands
3 years ago
Rapptz
573b2121b7
Add support for NSFW application commands
Of course, this somehow doesn't work with subcommands
3 years ago
Rapptz
a47396b21e
[commands] Change guild_only check to set guild_only in hybrid commands
3 years ago
Nadir Chowdhury
e2d0193531
Implement WelcomeScreen
3 years ago
Nanashi
2bb7ed2092
Retry on 524 status code
3 years ago
Rapptz
7905d63f7c
Reword missing annotation error to be a bit clearer
3 years ago
Rapptz
e813e5efe7
Remove undocumented methods from function signature changes
3 years ago
Rapptz
93e1ff5f07
Change aiohttp object construction to no longer take loop objects
3 years ago
Rapptz
37076a04de
Fix autocomplete example to not be as confusing
3 years ago
Star Brilliant
bd637e2462
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
Snaptraks
30c7a2179f
Fix typo in context menu error message
3 years ago
Wayoshi
38ba3b8d23
[commands] fix case_insensitive bug in parse_flags
Co-authored-by: Danny <[email protected] >
3 years ago
Josh
46e6a2708f
Add dunder or support to Flag types
3 years ago
z03h
2be65e5874
[commands] Fix errors when DynamicCooldown returns None
3 years ago
Ryan H
dbb00bd361
Add Reaction into typehint of add_reaction()
3 years ago
NextChai
d16e0cbe61
Add PartialIntegration to TargetType
3 years ago
Rapptz
544bb1e237
Fix typo in FlagConverter example
3 years ago
Rapptz
04f5fcf741
Fix Connectable.connect typing having bad inference if cls is missing
3 years ago
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