dolfies
50351b06bb
Fix failing check (run black)
2 years ago
Andrin S
96905a38d4
Add overloads to reply and send
2 years ago
dolfies
9a5ff2bf0b
Update various List[] to Collection[]
2 years ago
dolfies
5266b90383
Fix type issues
2 years ago
dolfies
8a1a3ffcce
Fix issues with previous upstream commits
2 years ago
Puncher
2f5bc11d3a
Add support for default_sort_order in ForumChannel
2 years ago
Soheab_
d973ff30b6
[commands] Pass failed argument's value to BadLiteralArgument
2 years ago
chrispy
0791afe687
[commands] Update Range examples to match app_commands.Range
2 years ago
Rapptz
11aa26d4d7
Update pyright to 1.1.289
2 years ago
Rapptz
0924b90ca4
[commands] Respect ignore_extra for FlagConverter kw-only parameters
2 years ago
Jonah Lawrence
9a975acd26
Fix usage of single backticks to links and code-blocks
3 years ago
crayyy_zee
4864ecec09
[commands] Add missing description parameter to docs
3 years ago
ster
c273f26805
Add coro tag to docstrings that were missing it
3 years ago
Omkaar
12f188df01
Refactor certain f-strings and literals
3 years ago
Jakub Kuczys
ec558a24b0
Fix migration guide docs for abc.PrivateChannel and cooldown()
* Move PrivateChannel ABC change to proper subsection in migration guide
* Add change to the accepted callables in cooldown() to migration guide
3 years ago
Rapptz
1424dedeff
[commands] Allow Greedy to potentially maintain state between calls
3 years ago
Rapptz
49b33e2f89
[commands] Add __repr__ to Range
3 years ago
Varun J
f31377ccda
[commands] fix Range to allow 3.10 Union syntax
3 years ago
Rapptz
8e039eafc1
[commands] Add support for NumPy style docstrings for commands
3 years ago
Puncher
c1f414558b
[commands] Add missing attributetable to classes
3 years ago
Josh
9d235b73f5
[commands] Add support for types.Union to Greedy
3 years ago
Rapptz
9c7b867d36
Fix nested Annotated calls not resolving
3 years ago
Soheab
6c59f7de09
[commands] Add description kwarg to parameters and show in default help
3 years ago
Rapptz
49e4339478
[commands] Ensure Command.extras are copied
Fix #8309
3 years ago
Bryan Forbes
b9795979ac
Bump Pyright to 1.1.265, fix type errors, and remove unnecessary ignores
3 years ago
Rapptz
f15d7e12b2
[commands] Fix Annotated not working with FlagConverter
3 years ago
Rapptz
2e9dfb3e12
Fix various a -> an typos across the library
Closes #8301 , #8287
3 years ago
Maya
e73c1a3b9e
[commands] Fix typing error with CheckAnyFailure
3 years ago
Bryan Forbes
b891fda6a7
Fix various generics throughout the public interface
Fix CooldownMapping generic typing and ensure other public methods
have proper generics
3 years ago
Rapptz
76ce315a83
[commands] Fix type annotations to use Union instead of |
3 years ago
Mikey
d92309e19d
[commands] Change cooldowns to take context instead of message
3 years ago
Sebastian Law
b17fb67341
[commands] Unload cog when command registration fails in _inject
3 years ago
z03h
b4d2395a5e
[commands] change Range to raise BadArgument for invalid values
3 years ago
Rapptz
360836ce10
[commands] Add support for Range[str, ...]
3 years ago
Bryan Forbes
547fcb93d1
[commands] Change Command.extras to match typing in app commands
3 years ago
will
d813cbecbe
Fix typo and capitalizations in docs
3 years ago
Rapptz
495854bcb3
Change stderr prints to use the logging module instead
3 years ago
James Hilton-Balfe
5858c44f63
[docs] Add async with documentation for Client
Co-authored-by: Rapptz <[email protected] >
3 years ago
Daniel Diaz
388941924f
[commands] Document argument attribute in BadInviteArgument
3 years ago
Josh
52a5f10307
Fix type annotations to adhere to latest pyright release
3 years ago
Wayoshi
49c059b3ca
[commands] fix case_insensitive bug in parse_flags
Co-authored-by: Danny <[email protected] >
3 years ago
z03h
1c1636875c
[commands] Fix errors when DynamicCooldown returns None
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
Rapptz
3f4d4aad17
[commands] Add support for discord.Attachment converters
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
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
Mikey
f14139dc8f
[commands] fix BucketType.default bypassing dynamic_cooldown
3 years ago