File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
interactions/models/discord Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -941,7 +941,7 @@ async def pin(self, reason: str | None = None) -> None:
941941 reason: The optional reason for pinning this message
942942
943943 """
944- await self ._client .http .pin_message (self ._channel_id , self .id )
944+ await self ._client .http .pin_message (self ._channel_id , self .id , reason )
945945 self .pinned = True
946946
947947 async def unpin (self , reason : str | None = None ) -> None :
@@ -952,7 +952,7 @@ async def unpin(self, reason: str | None = None) -> None:
952952 reason: The optional reason for unpinning this message
953953
954954 """
955- await self ._client .http .unpin_message (self ._channel_id , self .id )
955+ await self ._client .http .unpin_message (self ._channel_id , self .id , reason )
956956 self .pinned = False
957957
958958 async def publish (self ) -> None :
You can’t perform that action at this time.
0 commit comments