|coro|

        Returns a :class:`list` of :class:`.Message` that are currently pinned.

        Raises
        -------
        :exc:`.HTTPException`
            Retrieving the pinned messages failed.

async def pins(self):
        """|coro|

        Returns a :class:`list` of :class:`.Message` that are currently pinned.

        Raises
        -------
        :exc:`.HTTPException`
            Retrieving the pinned messages failed.
        """

        channel = await self._get_channel()
        state = self._state
        data = await state.http.pins_from(channel.id)
        return [state.create_message(channel=channel, data=m) for m in data]