@@ -812,7 +812,7 @@ async def edit(self, *, reason=None, **options):
812
812
position: :class:`int`
813
813
The new channel's position.
814
814
nsfw: :class:`bool`
815
- To mark the channel as NSFW or not .
815
+ Whether the channel is marked as NSFW .
816
816
sync_permissions: :class:`bool`
817
817
Whether to sync permissions with the channel's new or pre-existing
818
818
category. Defaults to ``False``.
@@ -1115,7 +1115,7 @@ async def edit(self, *, reason=None, **options):
1115
1115
position: :class:`int`
1116
1116
The new channel's position.
1117
1117
nsfw: :class:`bool`
1118
- To mark the channel as NSFW or not .
1118
+ Whether the channel is marked as NSFW .
1119
1119
sync_permissions: :class:`bool`
1120
1120
Whether to sync permissions with the channel's new or pre-existing
1121
1121
category. Defaults to ``False``.
@@ -1478,7 +1478,7 @@ async def edit(self, *, reason=None, **options):
1478
1478
position: :class:`int`
1479
1479
The new channel's position.
1480
1480
nsfw: :class:`bool`
1481
- To mark the channel as NSFW or not .
1481
+ Whether the channel is marked as NSFW .
1482
1482
sync_permissions: :class:`bool`
1483
1483
Whether to sync permissions with the channel's new or pre-existing
1484
1484
category. Defaults to ``False``.
@@ -1728,7 +1728,7 @@ class VoiceChannel(discord.abc.Messageable, VocalGuildChannel):
1728
1728
.. versionadded:: 2.0
1729
1729
1730
1730
nsfw: :class:`bool`
1731
- To mark the channel as NSFW or not .
1731
+ Whether the channel is marked as NSFW .
1732
1732
1733
1733
.. versionadded:: 2.7
1734
1734
"""
@@ -2102,10 +2102,10 @@ async def edit(self, *, reason=None, **options):
2102
2102
2103
2103
slowmode_delay: :class:`int`
2104
2104
Specifies the slowmode rate limit for user in this channel, in seconds.
2105
- The maximum value possible is `21600`.
2105
+ A value of `0` disables slowmode. The maximum value possible is `21600`.
2106
2106
2107
2107
nsfw: :class:`bool`
2108
- To mark the channel as NSFW or not .
2108
+ Whether the channel is marked as NSFW .
2109
2109
2110
2110
.. versionadded:: 2.7
2111
2111
@@ -2273,7 +2273,7 @@ class StageChannel(discord.abc.Messageable, VocalGuildChannel):
2273
2273
The maximum value possible is `21600`.
2274
2274
2275
2275
nsfw: :class:`bool`
2276
- To mark the channel as NSFW or not .
2276
+ Whether the channel is marked as NSFW .
2277
2277
2278
2278
.. versionadded:: 2.7
2279
2279
"""
@@ -2768,7 +2768,7 @@ async def edit(self, *, reason=None, **options):
2768
2768
2769
2769
slowmode_delay: :class:`int`
2770
2770
Specifies the slowmode rate limit for user in this channel, in seconds.
2771
- The maximum value possible is `21600`.
2771
+ A value of `0` disables slowmode. The maximum value possible is `21600`.
2772
2772
2773
2773
Returns
2774
2774
-------
@@ -2856,8 +2856,7 @@ def __init__(
2856
2856
2857
2857
def __repr__ (self ) -> str :
2858
2858
return (
2859
- "<CategoryChannel"
2860
- f" id={ self .id } name={ self .name !r} position={ self .position } "
2859
+ f"<CategoryChannel id={ self .id } name={ self .name !r} position={ self .position } "
2861
2860
)
2862
2861
2863
2862
def _update (self , guild : Guild , data : CategoryChannelPayload ) -> None :
0 commit comments