aboutsummaryrefslogtreecommitdiff
path: root/discord/sticker.py
diff options
context:
space:
mode:
authorNoName <[email protected]>2021-04-16 20:51:02 +0900
committerGitHub <[email protected]>2021-04-16 07:51:02 -0400
commit74f92387ace1bcb71b421988d5e4caae7aa6ff28 (patch)
tree3c7b453f9b2a8d73f41fdb7a90e85a1da56db5da /discord/sticker.py
parentRestrict snowflake regexes to 15-20 digits (diff)
downloaddiscord.py-74f92387ace1bcb71b421988d5e4caae7aa6ff28.tar.xz
discord.py-74f92387ace1bcb71b421988d5e4caae7aa6ff28.zip
Add periods to sticker docs
Diffstat (limited to 'discord/sticker.py')
-rw-r--r--discord/sticker.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/discord/sticker.py b/discord/sticker.py
index 48701f62..ebe17168 100644
--- a/discord/sticker.py
+++ b/discord/sticker.py
@@ -32,7 +32,7 @@ __all__ = (
)
class Sticker(Hashable):
- """Represents a sticker
+ """Represents a sticker.
.. versionadded:: 1.6
@@ -40,34 +40,34 @@ class Sticker(Hashable):
.. describe:: str(x)
- Returns the name of the sticker
+ Returns the name of the sticker.
.. describe:: x == y
- Checks if the sticker is equal to another sticker
+ Checks if the sticker is equal to another sticker.
.. describe:: x != y
- Checks if the sticker is not equal to another sticker
+ Checks if the sticker is not equal to another sticker.
Attributes
----------
name: :class:`str`
- The sticker's name
+ The sticker's name.
id: :class:`int`
- The id of the sticker
+ The id of the sticker.
description: :class:`str`
- The description of the sticker
+ The description of the sticker.
pack_id: :class:`int`
- The id of the sticker's pack
+ The id of the sticker's pack.
format: :class:`StickerType`
- The format for the sticker's image
+ The format for the sticker's image.
image: :class:`str`
- The sticker's image
+ The sticker's image.
tags: List[:class:`str`]
- A list of tags for the sticker
+ A list of tags for the sticker.
preview_image: Optional[:class:`str`]
- The sticker's preview asset hash
+ The sticker's preview asset hash.
"""
__slots__ = ('_state', 'id', 'name', 'description', 'pack_id', 'format', 'image', 'tags', 'preview_image')
@@ -103,7 +103,7 @@ class Sticker(Hashable):
"""Returns an :class:`Asset` for the sticker's image.
.. note::
- This will return ``None`` if the format is ``StickerType.lottie``
+ This will return ``None`` if the format is ``StickerType.lottie``.
Returns
-------