diff options
Diffstat (limited to 'docs/ext/commands/commands.rst')
| -rw-r--r-- | docs/ext/commands/commands.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/ext/commands/commands.rst b/docs/ext/commands/commands.rst index c5ad3037..b0dc3466 100644 --- a/docs/ext/commands/commands.rst +++ b/docs/ext/commands/commands.rst @@ -328,7 +328,7 @@ For example, a common idiom would be to have a class and a converter for that cl else: await ctx.send("Hm you're not so new.") -This can get tedious, so an inline advanced converter is possible through a ``classmethod`` inside the type: +This can get tedious, so an inline advanced converter is possible through a :func:`classmethod` inside the type: .. code-block:: python3 @@ -380,6 +380,7 @@ A lot of discord models work out of the gate as a parameter: - :class:`PartialMessage` (since v1.7) - :class:`TextChannel` - :class:`VoiceChannel` +- :class:`StageChannel` (since v1.7) - :class:`StoreChannel` (since v1.7) - :class:`CategoryChannel` - :class:`Invite` @@ -411,6 +412,8 @@ converter is given below: +--------------------------+-------------------------------------------------+ | :class:`VoiceChannel` | :class:`~ext.commands.VoiceChannelConverter` | +--------------------------+-------------------------------------------------+ +| :class:`StageChannel` | :class:`~ext.commands.StageChannelConverter` | ++--------------------------+-------------------------------------------------+ | :class:`StoreChannel` | :class:`~ext.commands.StoreChannelConverter` | +--------------------------+-------------------------------------------------+ | :class:`CategoryChannel` | :class:`~ext.commands.CategoryChannelConverter` | |