mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 00:13:01 +00:00
Remove StoreChannel and any references to it
This commit is contained in:
@@ -109,7 +109,7 @@ if TYPE_CHECKING:
|
||||
)
|
||||
from .types.voice import GuildVoiceState
|
||||
from .permissions import Permissions
|
||||
from .channel import VoiceChannel, StageChannel, TextChannel, CategoryChannel, StoreChannel
|
||||
from .channel import VoiceChannel, StageChannel, TextChannel, CategoryChannel
|
||||
from .template import Template
|
||||
from .webhook import Webhook
|
||||
from .state import ConnectionState
|
||||
@@ -120,7 +120,6 @@ if TYPE_CHECKING:
|
||||
NewsChannel as NewsChannelPayload,
|
||||
VoiceChannel as VoiceChannelPayload,
|
||||
CategoryChannel as CategoryChannelPayload,
|
||||
StoreChannel as StoreChannelPayload,
|
||||
StageChannel as StageChannelPayload,
|
||||
)
|
||||
from .types.integration import IntegrationType
|
||||
@@ -128,7 +127,7 @@ if TYPE_CHECKING:
|
||||
from .types.widget import EditWidgetSettings
|
||||
|
||||
VocalGuildChannel = Union[VoiceChannel, StageChannel]
|
||||
GuildChannel = Union[VocalGuildChannel, TextChannel, CategoryChannel, StoreChannel]
|
||||
GuildChannel = Union[VocalGuildChannel, TextChannel, CategoryChannel]
|
||||
ByCategoryItem = Tuple[Optional[CategoryChannel], List[GuildChannel]]
|
||||
|
||||
|
||||
@@ -1115,17 +1114,6 @@ class Guild(Hashable):
|
||||
) -> Coroutine[Any, Any, NewsChannelPayload]:
|
||||
...
|
||||
|
||||
@overload
|
||||
def _create_channel(
|
||||
self,
|
||||
name: str,
|
||||
channel_type: Literal[ChannelType.store],
|
||||
overwrites: Mapping[Union[Role, Member], PermissionOverwrite] = ...,
|
||||
category: Optional[Snowflake] = ...,
|
||||
**options: Any,
|
||||
) -> Coroutine[Any, Any, StoreChannelPayload]:
|
||||
...
|
||||
|
||||
@overload
|
||||
def _create_channel(
|
||||
self,
|
||||
|
Reference in New Issue
Block a user