mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 01:16:21 +00:00
Remove StoreChannel and any references to it
This commit is contained in:
13
docs/api.rst
13
docs/api.rst
@ -1275,10 +1275,6 @@ of :class:`enum.Enum`.
|
||||
|
||||
A guild news channel.
|
||||
|
||||
.. attribute:: store
|
||||
|
||||
A guild store channel.
|
||||
|
||||
.. attribute:: stage_voice
|
||||
|
||||
A guild stage voice channel.
|
||||
@ -3745,15 +3741,6 @@ ThreadMember
|
||||
.. autoclass:: ThreadMember()
|
||||
:members:
|
||||
|
||||
StoreChannel
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
.. attributetable:: StoreChannel
|
||||
|
||||
.. autoclass:: StoreChannel()
|
||||
:members:
|
||||
:inherited-members:
|
||||
|
||||
VoiceChannel
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
|
@ -383,9 +383,6 @@ Converters
|
||||
.. autoclass:: discord.ext.commands.VoiceChannelConverter
|
||||
:members:
|
||||
|
||||
.. autoclass:: discord.ext.commands.StoreChannelConverter
|
||||
:members:
|
||||
|
||||
.. autoclass:: discord.ext.commands.StageChannelConverter
|
||||
:members:
|
||||
|
||||
|
@ -390,7 +390,6 @@ A lot of discord models work out of the gate as a parameter:
|
||||
- :class:`TextChannel`
|
||||
- :class:`VoiceChannel`
|
||||
- :class:`StageChannel` (since v1.7)
|
||||
- :class:`StoreChannel` (since v1.7)
|
||||
- :class:`CategoryChannel`
|
||||
- :class:`Invite`
|
||||
- :class:`Guild` (since v1.7)
|
||||
@ -430,8 +429,6 @@ converter is given below:
|
||||
+--------------------------+-------------------------------------------------+
|
||||
| :class:`StageChannel` | :class:`~ext.commands.StageChannelConverter` |
|
||||
+--------------------------+-------------------------------------------------+
|
||||
| :class:`StoreChannel` | :class:`~ext.commands.StoreChannelConverter` |
|
||||
+--------------------------+-------------------------------------------------+
|
||||
| :class:`CategoryChannel` | :class:`~ext.commands.CategoryChannelConverter` |
|
||||
+--------------------------+-------------------------------------------------+
|
||||
| :class:`Invite` | :class:`~ext.commands.InviteConverter` |
|
||||
|
@ -618,10 +618,6 @@ The following have been changed:
|
||||
|
||||
- Note that this method will return ``None`` instead of :class:`StageChannel` if the edit was only positional.
|
||||
|
||||
- :meth:`StoreChannel.edit`
|
||||
|
||||
- Note that this method will return ``None`` instead of :class:`StoreChannel` if the edit was only positional.
|
||||
|
||||
- :meth:`TextChannel.edit`
|
||||
|
||||
- Note that this method will return ``None`` instead of :class:`TextChannel` if the edit was only positional.
|
||||
@ -896,7 +892,6 @@ The following methods have been changed:
|
||||
- :meth:`Role.edit`
|
||||
- :meth:`StageChannel.edit`
|
||||
- :meth:`StageInstance.edit`
|
||||
- :meth:`StoreChannel.edit`
|
||||
- :meth:`StreamIntegration.edit`
|
||||
- :meth:`TextChannel.edit`
|
||||
- :meth:`VoiceChannel.edit`
|
||||
@ -915,6 +910,17 @@ The following methods have been changed:
|
||||
- :meth:`Webhook.send`
|
||||
- :meth:`abc.GuildChannel.set_permissions`
|
||||
|
||||
Removal of ``StoreChannel``
|
||||
-----------------------------
|
||||
|
||||
Discord's API has removed store channels as of `March 10th, 2022 <https://support-dev.discord.com/hc/en-us/articles/4414590563479>`_. Therefore, the library has removed support for it as well.
|
||||
|
||||
This removes the following:
|
||||
|
||||
- ``StoreChannel``
|
||||
- ``commands.StoreChannelConverter``
|
||||
- ``ChannelType.store``
|
||||
|
||||
Function Signature Changes
|
||||
----------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user