Rename instances of nitro to premium

This commit is contained in:
Rapptz
2021-07-30 23:10:36 -04:00
parent 658b61d468
commit 6beef898c6
6 changed files with 11 additions and 11 deletions

View File

@ -794,7 +794,7 @@ class Client:
.. note::
To retrieve standard stickers, use :meth:`.fetch_sticker`.
or :meth:`.fetch_nitro_sticker_packs`.
or :meth:`.fetch_premium_sticker_packs`.
Returns
--------
@ -1492,10 +1492,10 @@ class Client:
cls, _ = _sticker_factory(data['type']) # type: ignore
return cls(state=self._connection, data=data) # type: ignore
async def fetch_nitro_sticker_packs(self) -> List[StickerPack]:
async def fetch_premium_sticker_packs(self) -> List[StickerPack]:
"""|coro|
Retrieves all available nitro sticker packs.
Retrieves all available premium sticker packs.
.. versionadded:: 2.0
@ -1507,9 +1507,9 @@ class Client:
Returns
---------
List[:class:`.StickerPack`]
All available nitro sticker packs.
All available premium sticker packs.
"""
data = await self.http.list_nitro_sticker_packs()
data = await self.http.list_premium_sticker_packs()
return [StickerPack(state=self._connection, data=pack) for pack in data['sticker_packs']]
async def create_dm(self, user: Snowflake) -> DMChannel: