831 Commits

Author SHA1 Message Date
Willi
470323493e
Pass BotT type argument to DeferTyping 2025-02-19 17:14:06 -05:00
Rapptz
8953938a53 Update Pyright to v1.1.394 2025-02-18 03:29:09 -05:00
Rapptz
776fc2251d [commands] Use interaction response within Context.send 2025-02-18 02:21:45 -05:00
Soheab
743ef27dd7
[commands] Correct ExtensionNotFound error message
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2025-01-18 23:31:02 -05:00
Alex Nørgaard
d95605839f
[commands] Fix _fallback attr not being set on replace for Parameter 2025-01-15 19:02:39 -05:00
DA344
7c8503fefb
Fix callable FlagConverter defaults on hybrid commands
fix: Callable FlagConverter defaults being returned as-is on interaction based calls.
2025-01-15 18:27:03 -05:00
Soheab
c7305b022c
[commands] Respect enabled kwarg for hybrid app commands 2024-11-07 03:07:20 -05:00
Soheab
c5e74068f0
[commands] Unwrap Parameter if given as default to commands.parameter 2024-10-16 18:48:49 -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
Josh
0ce75f3f53
[commands] Fix issue with category cooldowns outside of guild channels 2024-10-09 17:51:00 -04:00
Rapptz
6643784d33 [commands] Clarify Converter.convert exception raising 2024-07-05 15:11:35 -04:00
Rapptz
0e58a927dd [commands] Add support for channel URLs in channel converter
Fix #9799
2024-06-02 15:51:14 -04:00
z03h
d18f14c173
[commands] fix HelpCommand not carrying over checks
update command impl over creating new one
2024-05-29 23:24:28 -04:00
DA344
e43bd8692c
Add support for Polls
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com>
Co-authored-by: Josh <8677174+bijij@users.noreply.github.com>
Co-authored-by: Trevor Flahardy <75498301+trevorflahardy@users.noreply.github.com>
2024-05-10 06:14:12 -04:00
Vioshim
71358b8dce
[commands] Add support for positional flag parameters 2024-05-05 01:48:02 -04:00
Danny
2e2f51fd5c
First pass at supporting user apps
Co-authored-by: red <red@kalab.sk>
Co-authored-by: Vioshim <63890837+Vioshim@users.noreply.github.com>
2024-05-04 23:25:01 -04:00
Josh
4e03b170ef
Update pyright version 2024-02-20 13:36:02 -05:00
Rapptz
2b51e5e736 [commands] Change import for PrivateChannel for cooldowns 2023-12-10 04:34:08 -05:00
Rapptz
5c5ccc4e82 [commands] Fix hybrid command wrapped instances being out of sync 2023-09-30 14:28:18 -04:00
Rapptz
f617d01eee Refactor human_join into its own private helper function 2023-09-30 13:11:29 -04:00
Rapptz
3f92f35bb1 [commands] Log exceptions that happen during cog_unload 2023-09-20 17:20:50 -04:00
Rapptz
e414d0fe04 [commands] Change default Bot.owner_ids to consider team roles 2023-08-30 20:49:06 -04:00
Rapptz
42a1a68662 [commands] Fix obscuring name error 2023-08-25 11:36:25 -04:00
Rapptz
69e9bc9454 [commands] Fix nested hybrid groups inserting manual app commands 2023-08-24 14:34:01 -04:00
thegamecracks
c7f6e95f1c
[commands] Fix localization support for hybrid group fallback 2023-08-24 14:33:29 -04:00
Rapptz
a361a08482 [commands] Add fallback behaviour for CurrentGuild parameter 2023-08-01 18:15:36 -04:00
Rapptz
270fa5f2e0 [commands] Fix displayed_default for callables and None values 2023-07-07 00:09:10 -04:00
Rapptz
732f89b9e1 [commands] Fix =None being displayed in signatures for commands 2023-07-06 23:52:17 -04:00
Josh
630b2a1e55
Update pyright version 2023-07-01 18:26:27 -04:00
Rapptz
0871b34fc8 [commands] Revert on_error when cog is ejected for HelpCommand 2023-06-28 08:20:54 -04:00
Rapptz
5e86be3b72 [commands] Change lookup order to place nicknames last 2023-06-26 03:58:34 -04:00
Rapptz
dc4ed438a5 Fix plain username lookup for Guild.get_member_named
Fix #9451
2023-06-12 19:39:46 -04:00
Soheab_
94bf7d8644
[commands] Add displayed_name to commands.Parameter 2023-06-11 12:38:39 -04:00
Sebastian Law
2ab6541715
[commands] Document exceptions being ignored in teardown and cog_unload
Co-authored-by: Josh <josh.ja.butt@gmail.com>
2023-05-23 20:31:49 -04:00
Rapptz
e870bb1335 Add constant for the default file size limit 2023-05-19 21:21:37 -04:00
Rapptz
48cca30ca1 Revert removal of discriminator lookup 2023-05-19 20:59:19 -04:00
Rapptz
df01db3490 Initial support for pomelo migration 2023-05-19 20:59:19 -04:00
owocado
1deb5bf82d
[commands] Add Context.filesize_limit property 2023-05-19 20:37:03 -04:00
James Hilton-Balfe
fdf03d4bca
[commands] Use get_role where appropriate in role decorators 2023-04-18 00:11:39 -04:00
Andrin S
2ddb9d22ba
Add overloads to reply and send 2023-03-30 08:36:33 -04:00
Soheab_
a938b10e5a
[commands] Pass failed argument's value to BadLiteralArgument 2023-03-03 09:07:22 -05:00
Bryan Forbes
0ea098567c
[commands] Use ... for Command and Group typing 2023-03-01 22:47:17 -05:00
Bryan Forbes
4d51f68864
[commands] Fix some more partially uknown typing errors 2023-03-01 19:37:38 -05:00
Soheab_
a5a93a85bc
[commands] Document GroupCog.interaction_check 2023-02-28 02:20:00 -05:00
Puncher
1e9d04bbca
Add missing and fix wrong docstrings 2023-02-28 02:18:59 -05:00
Devon R
8f3224b70b
[commands] Change Paginator.pages to not prematurely close 2023-02-24 16:24:50 -05:00
owocado
d26dbf3a7a
Fix a few typos in the docs
Co-authored-by: o-wo <24418520+o-wo@users.noreply.github.com>
2023-02-23 00:47:08 -05:00
AAA3A
742630f144
[commands] Fix error involving hybrid groups in Cog 2023-02-10 19:33:27 -05:00
Server Bot
d523fc4a83
[commands] Add silent kwarg to Context.send 2023-02-09 02:51:23 -05:00