diff options
| author | Zomatree <[email protected]> | 2020-11-23 10:09:20 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-23 05:09:20 -0500 |
| commit | 344cb96c5dbdae438be8d99cf8dbd65b166db93f (patch) | |
| tree | 5a4a5a854a0daffbbf81267454f0d2a24cf25125 /docs | |
| parent | Suppress the creation of a command window from ffmpeg on Windows (diff) | |
| download | discord.py-344cb96c5dbdae438be8d99cf8dbd65b166db93f.tar.xz discord.py-344cb96c5dbdae438be8d99cf8dbd65b166db93f.zip | |
Add sticker support
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/docs/api.rst b/docs/api.rst index 81e35720..60923557 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -1993,6 +1993,23 @@ of :class:`enum.Enum`. Represents the default avatar with the color red. See also :attr:`Colour.red` +.. class:: StickerType + + Represents the type of sticker images. + + .. versionadded:: 1.6 + + .. attribute:: png + + Represents a sticker with a png image. + + .. attribute:: apng + + Represents a sticker with an apng image. + + .. attribute:: lottie + + Represents a sticker with a lottie image. Async Iterator ---------------- @@ -2815,6 +2832,12 @@ Widget .. autoclass:: Widget() :members: +Sticker +~~~~~~~~~~~~~~~ + +.. autoclass:: Sticker() + :members: + MessageReference ~~~~~~~~~~~~~~~~~ .. autoclass:: MessageReference() @@ -2982,7 +3005,6 @@ PublicUserFlags .. autoclass:: PublicUserFlags() :members: - Exceptions ------------ |