mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-03-05 03:02:49 +00:00
Add bypass slowmode permissions
This commit is contained in:
@@ -597,8 +597,7 @@ class AppCommandChannel(Hashable):
|
||||
slowmode_delay: :class:`int`
|
||||
The number of seconds a member must wait between sending messages
|
||||
in this channel. A value of ``0`` denotes that it is disabled.
|
||||
Bots and users with :attr:`~discord.Permissions.manage_channels` or
|
||||
:attr:`~discord.Permissions.manage_messages` bypass slowmode.
|
||||
Bots and users with :attr:`~discord.Permissions.bypass_slowmode` bypass slowmode.
|
||||
|
||||
.. versionadded:: 2.6
|
||||
nsfw: :class:`bool`
|
||||
@@ -779,8 +778,7 @@ class AppCommandThread(Hashable):
|
||||
slowmode_delay: :class:`int`
|
||||
The number of seconds a member must wait between sending messages
|
||||
in this thread. A value of ``0`` denotes that it is disabled.
|
||||
Bots and users with :attr:`~discord.Permissions.manage_channels` or
|
||||
:attr:`~discord.Permissions.manage_messages` bypass slowmode.
|
||||
Bots and users with :attr:`~discord.Permissions.bypass_slowmode` bypass slowmode.
|
||||
|
||||
.. versionadded:: 2.6
|
||||
message_count: :class:`int`
|
||||
|
||||
Reference in New Issue
Block a user