Skip to content

Commit 6fb35ca

Browse files
committed
mention that now you need the pin_messages permission to pin a message
1 parent ebdc689 commit 6fb35ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

disnake/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2150,7 +2150,7 @@ async def pin(self, *, reason: Optional[str] = None) -> None:
21502150
21512151
Pins the message.
21522152
2153-
You must have the :attr:`~Permissions.manage_messages` permission to do
2153+
You must have the :attr:`~Permissions.pin_messages` permission to do
21542154
this in a non-private channel context.
21552155
21562156
This does not work with messages sent in a :class:`VoiceChannel` or :class:`StageChannel`.

0 commit comments

Comments
 (0)