mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Add bypass slowmode permissions
This commit is contained in:
1 parent
680ca5ee20
commit
e45c8e60e1
5 files changed
+29
-22
No files matched your search
@@ -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