Closed nhawke closed 1 year ago
Before this, it was not possible to annotate command arguments with with their type while also using an argument converter. Now in 2.0+, discord.py supports using typing.Annotated to annotate an arguments type and provide a custom converter.
typing.Annotated
https://discordpy.readthedocs.io/en/stable/ext/commands/commands.html#typing-annotated
Part of #119
Excellent :shipit:
Before this, it was not possible to annotate command arguments with with their type while also using an argument converter. Now in 2.0+, discord.py supports using
typing.Annotated
to annotate an arguments type and provide a custom converter.https://discordpy.readthedocs.io/en/stable/ext/commands/commands.html#typing-annotated
Part of #119