mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Add support for get sticker pack
This commit is contained in:
@ -1609,6 +1609,9 @@ class HTTPClient:
|
||||
def get_sticker(self, sticker_id: Snowflake) -> Response[sticker.Sticker]:
|
||||
return self.request(Route('GET', '/stickers/{sticker_id}', sticker_id=sticker_id))
|
||||
|
||||
def get_sticker_pack(self, sticker_pack_id: Snowflake) -> Response[sticker.StickerPack]:
|
||||
return self.request(Route('GET', '/sticker-packs/{sticker_pack_id}', sticker_pack_id=sticker_pack_id))
|
||||
|
||||
def list_premium_sticker_packs(self) -> Response[sticker.ListPremiumStickerPacks]:
|
||||
return self.request(Route('GET', '/sticker-packs'))
|
||||
|
||||
|
Reference in New Issue
Block a user