|
30 | 30 | from .enums import StickerType, try_enum
|
31 | 31 |
|
32 | 32 | class Sticker(Hashable):
|
33 |
| - """Represents a sticker |
| 33 | + """Represents a sticker. |
34 | 34 |
|
35 | 35 | .. versionadded:: 1.6
|
36 | 36 |
|
37 | 37 | .. container:: operations
|
38 | 38 |
|
39 | 39 | .. describe:: str(x)
|
40 | 40 |
|
41 |
| - Returns the name of the sticker |
| 41 | + Returns the name of the sticker. |
42 | 42 |
|
43 | 43 | .. describe:: x == y
|
44 | 44 |
|
45 |
| - Checks if the sticker is equal to another sticker |
| 45 | + Checks if the sticker is equal to another sticker. |
46 | 46 |
|
47 | 47 | .. describe:: x != y
|
48 | 48 |
|
49 |
| - Checks if the sticker is not equal to another sticker |
| 49 | + Checks if the sticker is not equal to another sticker. |
50 | 50 |
|
51 | 51 | Attributes
|
52 | 52 | ----------
|
53 | 53 | name: :class:`str`
|
54 |
| - The sticker's name |
| 54 | + The sticker's name. |
55 | 55 | id: :class:`int`
|
56 |
| - The id of the sticker |
| 56 | + The id of the sticker. |
57 | 57 | description: :class:`str`
|
58 |
| - The description of the sticker |
| 58 | + The description of the sticker. |
59 | 59 | pack_id: :class:`int`
|
60 |
| - The id of the sticker's pack |
| 60 | + The id of the sticker's pack. |
61 | 61 | format: :class:`StickerType`
|
62 |
| - The format for the sticker's image |
| 62 | + The format for the sticker's image. |
63 | 63 | image: :class:`str`
|
64 |
| - The sticker's image |
| 64 | + The sticker's image. |
65 | 65 | tags: List[:class:`str`]
|
66 |
| - A list of tags for the sticker |
| 66 | + A list of tags for the sticker. |
67 | 67 | preview_image: Optional[:class:`str`]
|
68 |
| - The sticker's preview asset hash |
| 68 | + The sticker's preview asset hash. |
69 | 69 | """
|
70 | 70 | __slots__ = ('_state', 'id', 'name', 'description', 'pack_id', 'format', 'image', 'tags', 'preview_image')
|
71 | 71 |
|
@@ -101,7 +101,7 @@ def image_url(self):
|
101 | 101 | """Returns an :class:`Asset` for the sticker's image.
|
102 | 102 |
|
103 | 103 | .. note::
|
104 |
| - This will return ``None`` if the format is ``StickerType.lottie`` |
| 104 | + This will return ``None`` if the format is ``StickerType.lottie``. |
105 | 105 |
|
106 | 106 | Returns
|
107 | 107 | -------
|
|
0 commit comments