Rapptz
b9b21ca270
[commands] Fix Context.from_interaction derived Message.type
...
The previous Message.type when accessed from Context would be an
unknown enum type because the enum was double nested when the proper
type expected by the synthetic payload was an int not an enum.
Fix #10382
2026-01-11 08:02:50 -05:00
Rapptz
1df81fea52
[commands] Mark Cog check special methods as MaybeCoro return
...
Fix #10354
2026-01-08 08:17:43 -05:00
Rapptz
c342db8534
[commands] Fix flag annotations in 3.14 using annotationlib
...
Fix #10349
2025-11-12 20:22:45 -05:00
Rapptz
6d19bc763c
[commands] Fix flag annotations not working under 3.14
2025-10-14 17:16:43 -04:00
Rapptz
e2b6fa8370
Use obj reference target instead of data for typing objects
2025-10-08 17:31:24 -04:00
Soheab
a2a228105b
Fix various TypeDicts for Unpack
2025-09-28 12:03:50 -04:00
Rapptz
ab6efd02bc
[tasks] Log handled exceptions before sleeping
...
Fix #10276
2025-08-22 19:59:56 -04:00
Rapptz
d00ac622bc
Remove uses of deprecated Logger.warn method
2025-08-22 19:52:12 -04:00
Rapptz
44a44e938f
Reformat entire project with ruff instead of black
2025-08-18 20:16:10 -04:00
Soheab
983a9b8f94
Use Unpack where it's possible
2025-08-15 05:36:36 -04:00
DA344
50caa3c82c
Add support for components V2
...
Co-authored-by: Michael H <michael@michaelhall.tech >
Co-authored-by: Soheab <33902984+Soheab@users.noreply.github.com >
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com >
Co-authored-by: Jay3332 <40323796+jay3332@users.noreply.github.com >
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com >
2025-08-13 20:37:23 -04:00
Soheab
1cd90f8b1c
[commands] Fix converters not working with Optional for hybrids
2025-07-30 17:08:08 -04:00
El Laggron
b1be7dea74
Handle empty guild_ids list for app_commands
2025-07-08 21:16:39 -04:00
owocado
2bcbd49bc6
Add __repr__ method to various classes
2025-06-20 14:57:10 -04:00
Soheab
aa5f4bdd7a
Fix poll parameter defaulting to MISSING instead of None for Context.send
2025-06-20 14:27:37 -04:00
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
Michael H
f2aa0b833c
[tasks] Fix race condition with set_result
2025-01-15 18:18:02 -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
Thanos
9b9c93ad49
[tasks] Fix typing for tasks.SleepHandle.future set calls
2023-12-10 11:38:55 -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
646ab85bb6
[tasks] Fix missing name parameter in loop copy
2023-06-26 05:51:04 -04:00
Rapptz
03140c0163
[tasks] Add name parameter to give the internal task a name
2023-06-26 04:31:36 -04:00