[commands] Add ForumChannelConverter converter

This commit is contained in:
Rapptz
2022-04-13 17:44:03 -04:00
parent d98ee567d4
commit 141d9f4c71
2 changed files with 23 additions and 0 deletions

View File

@ -391,6 +391,7 @@ A lot of discord models work out of the gate as a parameter:
- :class:`VoiceChannel`
- :class:`StageChannel` (since v1.7)
- :class:`CategoryChannel`
- :class:`ForumChannel` (since v2.0)
- :class:`Invite`
- :class:`Guild` (since v1.7)
- :class:`Role`
@ -431,6 +432,8 @@ converter is given below:
+--------------------------+-------------------------------------------------+
| :class:`CategoryChannel` | :class:`~ext.commands.CategoryChannelConverter` |
+--------------------------+-------------------------------------------------+
| :class:`ForumChannel` | :class:`~ext.commands.ForumChannelConverter` |
+--------------------------+-------------------------------------------------+
| :class:`Invite` | :class:`~ext.commands.InviteConverter` |
+--------------------------+-------------------------------------------------+
| :class:`Guild` | :class:`~ext.commands.GuildConverter` |