Commit Graph

58 Commits

Author SHA1 Message Date
71358b8dce [commands] Add support for positional flag parameters 2024-05-05 01:48:02 -04:00
ef4240dcd7 [commands] Add missing command decorator to example 2023-02-27 06:19:17 -05:00
ec9089cf0a Add intents to example 2022-12-02 19:43:26 -05:00
e57617e157 Add support for delete_message_seconds ban argument 2022-08-28 02:06:57 -04:00
183ec1ab28 Fix typo in hybrid commands documentation 2022-08-15 08:18:32 -04:00
a5410e6135 Add documentation for hybrid commands 2022-07-25 21:19:42 -04:00
544bb1e237 Fix typo in FlagConverter example 2022-05-16 17:05:21 -04:00
9450a8e972 [commands] Change FlagConverter to always raise BadFlagArgument 2022-05-16 15:31:18 -04:00
63e50bc369 Don't hotlink typing.List, typing.Dict, or typing.Tuple 2022-05-11 03:54:25 -04:00
cc3e714338 Fix typo in documentation and mention name kwarg interaction 2022-05-11 03:20:57 -04:00
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
d319539edb [commands] Fix broken examples in commands.param documentation 2022-05-09 18:15:31 -04:00
9793fba338 [commands] Add support for discord.Attachment converters 2022-05-05 01:54:59 -04:00
5fcd4e411f [commands] Add support for typing.Annotated 2022-04-22 06:31:02 -04:00
141d9f4c71 [commands] Add ForumChannelConverter converter 2022-04-13 17:44:03 -04:00
55c5be78cf [commands] Implement commands.parameter 2022-04-04 18:01:21 -04:00
def035bf9a Remove StoreChannel and any references to it 2022-03-28 00:09:19 -04:00
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
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
93fba264ad [commands] add ScheduledEvent converter 2022-03-09 17:56:50 -05:00
aa74238053 Reorganise documentation for interactions 2022-03-04 21:17:27 -05:00
980d6abbea Fix typo in commands documentation 2021-07-21 02:52:33 -04:00
3cb539d91b [commands] Document the thread converter 2021-07-07 20:15:18 -04:00
2a6d79078e [commands] Add GuildChannelConverter 2021-05-07 07:37:42 -04:00
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
e09f64b7c9 Fix typo in FlagConverter docs 2021-04-22 21:12:19 -04:00
212d308835 [commands] Some minor clean up of the flag converter documentation
Fix #6761
2021-04-19 22:52:29 -04:00
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
5dec62f4c0 [commands] Add a converter for discord.Object 2021-04-16 08:18:57 -04:00
8f9819eb4c [docs] Fix various unresolved references 2021-04-15 22:41:41 -04:00
b20e92efd8 [docs] Fix references to Greedy 2021-04-10 14:59:09 -04:00
68aef92b37 [commands]Add typing.Literal converter 2021-04-10 02:50:59 -04:00
05c123f3ab Use f-strings in more places that were missed 2021-04-08 09:31:06 -04:00
ece7064e64 [docs] add label to basic converters section 2021-04-07 07:12:52 -04:00
bda3afcad7 [commands] Update Converter list in ext.commands introduction 2021-04-07 03:20:35 -04:00
8d66ced02c [docs] Conveter -> Converter 2021-03-24 08:18:11 -04:00
e0e60a2f62 [commands] document PartialMessageConverter 2021-01-24 05:16:32 -05:00
16195a7d2f fix method reference in documentation 2021-01-05 23:53:17 -05:00
7a07644de3 [commands] Raise TypeError when Optional is used with Greedy converter 2020-06-28 03:54:34 -04:00
5cad76370e [commands] Fix grammar
Either implies that there will be two things, there is only one.
2019-10-17 05:56:01 -04:00
da41cceb41 [commands] Fix confusion between it's and its 2019-07-22 20:46:40 -04:00
956f4c7151 [commands] Fix CategoryChannel not appearing in converter table 2019-07-18 18:06:27 -04:00
3c9bcc2851 Improve documentation 2019-06-07 19:27:46 -04:00
d51f4c2b81 Minor nits in Discord Converters section of the docs. 2019-05-09 07:40:08 -04:00
446b79241c Actually use multiple checks in the examples for checks. 2019-05-01 23:57:50 -04:00
296d4bf580 [commands] Add new MessageConverter to commands prose page. 2019-04-17 22:41:58 -04:00
d124daef33 Fix non-working example in commands documentation. 2019-03-06 02:37:02 -05:00
6bfd92e4a5 Fix is_in_guild example check 2018-11-24 23:01:46 -05:00
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
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