From 0b89ef4a33ba012fcaff06ca6410b75280bbe15c Mon Sep 17 00:00:00 2001 From: shiftinv Date: Thu, 16 Nov 2023 19:07:51 +0100 Subject: [PATCH] nit(docs): remove unnecessary `~Permissions.` prefix --- disnake/permissions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/disnake/permissions.py b/disnake/permissions.py index f7bc856c40..edad50e84d 100644 --- a/disnake/permissions.py +++ b/disnake/permissions.py @@ -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 """ @@ -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 """ @@ -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 """ @@ -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 """