|
|
@ -1126,7 +1126,7 @@ class Guild(Hashable): |
|
|
|
self, |
|
|
|
name: str, |
|
|
|
channel_type: Literal[ChannelType.text], |
|
|
|
overwrites: Mapping[Union[Role, Member], PermissionOverwrite] = ..., |
|
|
|
overwrites: Mapping[Union[Role, Member, Object], PermissionOverwrite] = ..., |
|
|
|
category: Optional[Snowflake] = ..., |
|
|
|
**options: Any, |
|
|
|
) -> Coroutine[Any, Any, TextChannelPayload]: |
|
|
@ -1137,7 +1137,7 @@ class Guild(Hashable): |
|
|
|
self, |
|
|
|
name: str, |
|
|
|
channel_type: Literal[ChannelType.voice], |
|
|
|
overwrites: Mapping[Union[Role, Member], PermissionOverwrite] = ..., |
|
|
|
overwrites: Mapping[Union[Role, Member, Object], PermissionOverwrite] = ..., |
|
|
|
category: Optional[Snowflake] = ..., |
|
|
|
**options: Any, |
|
|
|
) -> Coroutine[Any, Any, VoiceChannelPayload]: |
|
|
@ -1148,7 +1148,7 @@ class Guild(Hashable): |
|
|
|
self, |
|
|
|
name: str, |
|
|
|
channel_type: Literal[ChannelType.stage_voice], |
|
|
|
overwrites: Mapping[Union[Role, Member], PermissionOverwrite] = ..., |
|
|
|
overwrites: Mapping[Union[Role, Member, Object], PermissionOverwrite] = ..., |
|
|
|
category: Optional[Snowflake] = ..., |
|
|
|
**options: Any, |
|
|
|
) -> Coroutine[Any, Any, StageChannelPayload]: |
|
|
@ -1159,7 +1159,7 @@ class Guild(Hashable): |
|
|
|
self, |
|
|
|
name: str, |
|
|
|
channel_type: Literal[ChannelType.category], |
|
|
|
overwrites: Mapping[Union[Role, Member], PermissionOverwrite] = ..., |
|
|
|
overwrites: Mapping[Union[Role, Member, Object], PermissionOverwrite] = ..., |
|
|
|
category: Optional[Snowflake] = ..., |
|
|
|
**options: Any, |
|
|
|
) -> Coroutine[Any, Any, CategoryChannelPayload]: |
|
|
@ -1170,7 +1170,7 @@ class Guild(Hashable): |
|
|
|
self, |
|
|
|
name: str, |
|
|
|
channel_type: Literal[ChannelType.news], |
|
|
|
overwrites: Mapping[Union[Role, Member], PermissionOverwrite] = ..., |
|
|
|
overwrites: Mapping[Union[Role, Member, Object], PermissionOverwrite] = ..., |
|
|
|
category: Optional[Snowflake] = ..., |
|
|
|
**options: Any, |
|
|
|
) -> Coroutine[Any, Any, NewsChannelPayload]: |
|
|
@ -1181,7 +1181,7 @@ class Guild(Hashable): |
|
|
|
self, |
|
|
|
name: str, |
|
|
|
channel_type: Literal[ChannelType.news, ChannelType.text], |
|
|
|
overwrites: Mapping[Union[Role, Member], PermissionOverwrite] = ..., |
|
|
|
overwrites: Mapping[Union[Role, Member, Object], PermissionOverwrite] = ..., |
|
|
|
category: Optional[Snowflake] = ..., |
|
|
|
**options: Any, |
|
|
|
) -> Coroutine[Any, Any, Union[TextChannelPayload, NewsChannelPayload]]: |
|
|
@ -1192,7 +1192,7 @@ class Guild(Hashable): |
|
|
|
self, |
|
|
|
name: str, |
|
|
|
channel_type: Literal[ChannelType.forum], |
|
|
|
overwrites: Mapping[Union[Role, Member], PermissionOverwrite] = ..., |
|
|
|
overwrites: Mapping[Union[Role, Member, Object], PermissionOverwrite] = ..., |
|
|
|
category: Optional[Snowflake] = ..., |
|
|
|
**options: Any, |
|
|
|
) -> Coroutine[Any, Any, ForumChannelPayload]: |
|
|
@ -1203,7 +1203,7 @@ class Guild(Hashable): |
|
|
|
self, |
|
|
|
name: str, |
|
|
|
channel_type: ChannelType, |
|
|
|
overwrites: Mapping[Union[Role, Member], PermissionOverwrite] = ..., |
|
|
|
overwrites: Mapping[Union[Role, Member, Object], PermissionOverwrite] = ..., |
|
|
|
category: Optional[Snowflake] = ..., |
|
|
|
**options: Any, |
|
|
|
) -> Coroutine[Any, Any, GuildChannelPayload]: |
|
|
@ -1213,7 +1213,7 @@ class Guild(Hashable): |
|
|
|
self, |
|
|
|
name: str, |
|
|
|
channel_type: ChannelType, |
|
|
|
overwrites: Mapping[Union[Role, Member], PermissionOverwrite] = MISSING, |
|
|
|
overwrites: Mapping[Union[Role, Member, Object], PermissionOverwrite] = MISSING, |
|
|
|
category: Optional[Snowflake] = None, |
|
|
|
**options: Any, |
|
|
|
) -> Coroutine[Any, Any, GuildChannelPayload]: |
|
|
@ -1253,7 +1253,7 @@ class Guild(Hashable): |
|
|
|
topic: str = MISSING, |
|
|
|
slowmode_delay: int = MISSING, |
|
|
|
nsfw: bool = MISSING, |
|
|
|
overwrites: Mapping[Union[Role, Member], PermissionOverwrite] = MISSING, |
|
|
|
overwrites: Mapping[Union[Role, Member, Object], PermissionOverwrite] = MISSING, |
|
|
|
default_auto_archive_duration: int = MISSING, |
|
|
|
default_thread_slowmode_delay: int = MISSING, |
|
|
|
) -> TextChannel: |
|
|
@ -1395,7 +1395,7 @@ class Guild(Hashable): |
|
|
|
user_limit: int = MISSING, |
|
|
|
rtc_region: Optional[str] = MISSING, |
|
|
|
video_quality_mode: VideoQualityMode = MISSING, |
|
|
|
overwrites: Mapping[Union[Role, Member], PermissionOverwrite] = MISSING, |
|
|
|
overwrites: Mapping[Union[Role, Member, Object], PermissionOverwrite] = MISSING, |
|
|
|
) -> VoiceChannel: |
|
|
|
"""|coro| |
|
|
|
|
|
|
@ -1488,7 +1488,7 @@ class Guild(Hashable): |
|
|
|
user_limit: int = MISSING, |
|
|
|
rtc_region: Optional[str] = MISSING, |
|
|
|
video_quality_mode: VideoQualityMode = MISSING, |
|
|
|
overwrites: Mapping[Union[Role, Member], PermissionOverwrite] = MISSING, |
|
|
|
overwrites: Mapping[Union[Role, Member, Object], PermissionOverwrite] = MISSING, |
|
|
|
) -> StageChannel: |
|
|
|
"""|coro| |
|
|
|
|
|
|
@ -1581,7 +1581,7 @@ class Guild(Hashable): |
|
|
|
self, |
|
|
|
name: str, |
|
|
|
*, |
|
|
|
overwrites: Mapping[Union[Role, Member], PermissionOverwrite] = MISSING, |
|
|
|
overwrites: Mapping[Union[Role, Member, Object], PermissionOverwrite] = MISSING, |
|
|
|
reason: Optional[str] = None, |
|
|
|
position: int = MISSING, |
|
|
|
) -> CategoryChannel: |
|
|
@ -1636,7 +1636,7 @@ class Guild(Hashable): |
|
|
|
category: Optional[CategoryChannel] = None, |
|
|
|
slowmode_delay: int = MISSING, |
|
|
|
nsfw: bool = MISSING, |
|
|
|
overwrites: Mapping[Union[Role, Member], PermissionOverwrite] = MISSING, |
|
|
|
overwrites: Mapping[Union[Role, Member, Object], PermissionOverwrite] = MISSING, |
|
|
|
reason: Optional[str] = None, |
|
|
|
default_auto_archive_duration: int = MISSING, |
|
|
|
default_thread_slowmode_delay: int = MISSING, |
|
|
|