Willy
ef4240dcd7
[commands] Add missing command decorator to example
2023-02-27 06:19:17 -05:00
Marble
ec9089cf0a
Add intents to example
2022-12-02 19:43:26 -05:00
Josh
e57617e157
Add support for delete_message_seconds ban argument
2022-08-28 02:06:57 -04:00
I. Ahmad
183ec1ab28
Fix typo in hybrid commands documentation
2022-08-15 08:18:32 -04:00
I. Ahmad
a5410e6135
Add documentation for hybrid commands
2022-07-25 21:19:42 -04:00
Rapptz
544bb1e237
Fix typo in FlagConverter example
2022-05-16 17:05:21 -04:00
z03h
9450a8e972
[commands] Change FlagConverter to always raise BadFlagArgument
2022-05-16 15:31:18 -04:00
Rapptz
63e50bc369
Don't hotlink typing.List, typing.Dict, or typing.Tuple
2022-05-11 03:54:25 -04:00
Rapptz
cc3e714338
Fix typo in documentation and mention name kwarg interaction
2022-05-11 03:20:57 -04:00
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.
2022-05-11 03:15:57 -04:00
Rapptz
d319539edb
[commands] Fix broken examples in commands.param documentation
2022-05-09 18:15:31 -04:00
Rapptz
9793fba338
[commands] Add support for discord.Attachment converters
2022-05-05 01:54:59 -04:00
Rapptz
5fcd4e411f
[commands] Add support for typing.Annotated
2022-04-22 06:31:02 -04:00
Rapptz
141d9f4c71
[commands] Add ForumChannelConverter converter
2022-04-13 17:44:03 -04:00
James Hilton-Balfe
55c5be78cf
[commands] Implement commands.parameter
2022-04-04 18:01:21 -04:00
Rapptz
def035bf9a
Remove StoreChannel and any references to it
2022-03-28 00:09:19 -04:00
Cryptex
6cf7c4a7d7
Add message content to doc examples
...
This also changes the wording of Context's attributes
for consistency.
2022-03-14 21:01:48 -04:00
Vish M
049df7c586
Add a note to users that they must have the message content intent
...
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
2022-03-13 07:48:41 -04:00
z03h
93fba264ad
[commands] add ScheduledEvent converter
2022-03-09 17:56:50 -05:00
Rapptz
aa74238053
Reorganise documentation for interactions
2022-03-04 21:17:27 -05:00
AXVin
980d6abbea
Fix typo in commands documentation
2021-07-21 02:52:33 -04:00
ToxicKidz
3cb539d91b
[commands] Document the thread converter
2021-07-07 20:15:18 -04:00
sudosnok
2a6d79078e
[commands] Add GuildChannelConverter
2021-05-07 07:37:42 -04:00
Josh
3864fb37a0
Fix various reference issues in documentation
...
Co-Authored-By: Riley Shaw <30989490+ShineyDev@users.noreply.github.com>
2021-05-06 07:51:07 -04:00
Alex Nørgaard
e09f64b7c9
Fix typo in FlagConverter docs
2021-04-22 21:12:19 -04:00
Rapptz
212d308835
[commands] Some minor clean up of the flag converter documentation
...
Fix #6761
2021-04-19 22:52:29 -04:00
Rapptz
ddb71e2aed
[commands] Initial support for FlagConverter
...
The name is currently pending and there's no command.signature hook
for it yet since this requires bikeshedding.
2021-04-19 10:25:08 -04:00
Nadir Chowdhury
5dec62f4c0
[commands] Add a converter for discord.Object
2021-04-16 08:18:57 -04:00
Nadir Chowdhury
8f9819eb4c
[docs] Fix various unresolved references
2021-04-15 22:41:41 -04:00
Nadir Chowdhury
b20e92efd8
[docs] Fix references to Greedy
2021-04-10 14:59:09 -04:00
Sigmath Bits
68aef92b37
[commands]Add typing.Literal converter
2021-04-10 02:50:59 -04:00
Sebastian Law
05c123f3ab
Use f-strings in more places that were missed
2021-04-08 09:31:06 -04:00
Sebastian Law
ece7064e64
[docs] add label to basic converters section
2021-04-07 07:12:52 -04:00
Shun Tannai
bda3afcad7
[commands] Update Converter list in ext.commands introduction
2021-04-07 03:20:35 -04:00
Nadir Chowdhury
8d66ced02c
[docs] Conveter -> Converter
2021-03-24 08:18:11 -04:00
Sebastian Law
e0e60a2f62
[commands] document PartialMessageConverter
2021-01-24 05:16:32 -05:00
Sebastian Law
16195a7d2f
fix method reference in documentation
2021-01-05 23:53:17 -05:00
Sebastian Law
7a07644de3
[commands] Raise TypeError when Optional is used with Greedy converter
2020-06-28 03:54:34 -04:00
Flame442
5cad76370e
[commands] Fix grammar
...
Either implies that there will be two things, there is only one.
2019-10-17 05:56:01 -04:00
Dante Dam
da41cceb41
[commands] Fix confusion between it's and its
2019-07-22 20:46:40 -04:00
Dante Dam
956f4c7151
[commands] Fix CategoryChannel not appearing in converter table
2019-07-18 18:06:27 -04:00
NCPlayz
3c9bcc2851
Improve documentation
2019-06-07 19:27:46 -04:00
Rapptz
d51f4c2b81
Minor nits in Discord Converters section of the docs.
2019-05-09 07:40:08 -04:00
Rapptz
446b79241c
Actually use multiple checks in the examples for checks.
2019-05-01 23:57:50 -04:00
Rapptz
296d4bf580
[commands] Add new MessageConverter to commands prose page.
2019-04-17 22:41:58 -04:00
Rapptz
d124daef33
Fix non-working example in commands documentation.
2019-03-06 02:37:02 -05:00
LyricLy
6bfd92e4a5
Fix is_in_guild example check
2018-11-24 23:01:46 -05:00
scragly
53c7d940c9
Outline the logic of bool
converters
...
As a `bool` converter is treated differently from other callable (basic) converters, the explanatory docs should outline that it is evaluated differently from a simple type cast, and what logic is used in determining how the content is evaluated.
2018-11-24 22:51:17 -05:00
scragly
cec7ced1a4
Group Advanced Converters and Inline Advanced Converters
...
The Inline Advanced Converters are a logical extension of the Advanced Converters subject, and as such should be placed under that section without an unrelated converter type breaking the two up.
2018-11-24 22:51:16 -05:00
Rapptz
99b1390e5a
[commands] Elaborate more on disallowed types in Greedy and Optional
2018-09-24 23:39:25 -04:00