Skip to content

Commit

Permalink
nit(docs): remove unnecessary ~Permissions. prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftinv committed Nov 16, 2023
1 parent cfcffd1 commit 0b89ef4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions disnake/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ def manage_guild_expressions(self) -> int:
""":class:`bool`: Returns ``True`` if a user can edit or delete
emojis, stickers, and soundboard sounds created by all users.
See also :attr:`~Permissions.create_guild_expressions`.
See also :attr:`create_guild_expressions`.
.. versionadded:: 2.9
"""
Expand Down Expand Up @@ -901,7 +901,7 @@ def manage_events(self) -> int:
""":class:`bool`: Returns ``True`` if a user can edit or delete guild scheduled events
created by all users.
See also :attr:`~Permissions.create_events`.
See also :attr:`create_events`.
.. versionadded:: 2.0
"""
Expand Down Expand Up @@ -1005,7 +1005,7 @@ def create_guild_expressions(self) -> int:
""":class:`bool`: Returns ``True`` if a user can create emojis, stickers,
and soundboard sounds, as well as edit and delete the ones they created.
See also :attr:`~Permissions.manage_guild_expressions`.
See also :attr:`manage_guild_expressions`.
.. versionadded:: 2.10
"""
Expand All @@ -1016,7 +1016,7 @@ def create_events(self) -> int:
""":class:`bool`: Returns ``True`` if a user can create guild scheduled events,
as well as edit and delete the ones they created.
See also :attr:`~Permissions.manage_events`.
See also :attr:`manage_events`.
.. versionadded:: 2.10
"""
Expand Down

0 comments on commit 0b89ef4

Please sign in to comment.