mirror of
https://github.com/MelisaDev/melisa.git
synced 2024-09-22 19:22:01 +03:00
fix pin and unpin method docstrings
This commit is contained in:
parent
29512bbec8
commit
22bce7366b
1 changed files with 4 additions and 4 deletions
|
@ -203,12 +203,12 @@ class Message(APIModelBase):
|
|||
|
||||
async def pin(
|
||||
self, *, reason: Optional[str] = None
|
||||
) -> None:
|
||||
):
|
||||
"""|coro|
|
||||
|
||||
Pins the message.
|
||||
|
||||
You must have the `MANAGE_MESSAGES` permission to do this in a non-private channel context.
|
||||
You must have the ``MANAGE_MESSAGES`` permission to do this in a non-private channel context.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
|
@ -232,12 +232,12 @@ class Message(APIModelBase):
|
|||
|
||||
async def unpin(
|
||||
self, *, reason: Optional[str] = None
|
||||
) -> None:
|
||||
):
|
||||
"""|coro|
|
||||
|
||||
Unpins the message.
|
||||
|
||||
You must have the `MANAGE_MESSAGES` permission to do this in a non-private channel context.
|
||||
You must have the ``MANAGE_MESSAGES`` permission to do this in a non-private channel context.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
|
|
Loading…
Reference in a new issue