mirror of
https://github.com/MelisaDev/melisa.git
synced 2024-11-11 19:07:28 +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(
|
async def pin(
|
||||||
self, *, reason: Optional[str] = None
|
self, *, reason: Optional[str] = None
|
||||||
) -> None:
|
):
|
||||||
"""|coro|
|
"""|coro|
|
||||||
|
|
||||||
Pins the message.
|
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
|
Parameters
|
||||||
----------
|
----------
|
||||||
|
@ -232,12 +232,12 @@ class Message(APIModelBase):
|
||||||
|
|
||||||
async def unpin(
|
async def unpin(
|
||||||
self, *, reason: Optional[str] = None
|
self, *, reason: Optional[str] = None
|
||||||
) -> None:
|
):
|
||||||
"""|coro|
|
"""|coro|
|
||||||
|
|
||||||
Unpins the message.
|
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
|
Parameters
|
||||||
----------
|
----------
|
||||||
|
|
Loading…
Reference in a new issue