Skip to content

Commit

Permalink
add missing versionchanged
Browse files Browse the repository at this point in the history
  • Loading branch information
onerandomusername committed May 2, 2023
1 parent 25319ec commit fdde40d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions disnake/permissions.py
Expand Up @@ -315,6 +315,7 @@ def all_channel(cls) -> Self:
.. versionchanged:: 2.9
Added :attr:`use_soundboard` permission.
Added :att:`send_voice_messages` permission.
"""
instance = cls.all()
instance.update(
Expand Down Expand Up @@ -392,6 +393,9 @@ def text(cls) -> Self:
.. versionchanged:: 2.0
Added :attr:`create_public_threads`, :attr:`create_private_threads`, :attr:`manage_threads`,
:attr:`send_messages_in_threads` and :attr:`use_external_stickers` permissions.
.. versionchanged:: 2.9
Added :att:`send_voice_messages` permission.
"""
return cls(
send_messages=True,
Expand Down

0 comments on commit fdde40d

Please sign in to comment.