Skip to content

Commit 52c8089

Browse files
committed
clarify emoji param and update name/description length limits
1 parent 4af2deb commit 52c8089

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

discord/guild.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3102,11 +3102,15 @@ async def create_sticker(
31023102
Parameters
31033103
-----------
31043104
name: :class:`str`
3105-
The sticker name. Must be at least 2 characters.
3105+
The sticker name. Must be between 2 and 30 characters.
31063106
description: :class:`str`
3107-
The sticker's description.
3107+
The sticker's description. Must be between 2 and 100 characters.
31083108
emoji: :class:`str`
3109-
The raw unicode emoji that represents the sticker's expression.
3109+
The emoji tag associated with the sticker. This corresponds to the
3110+
``tags`` field in Discord's API, which is used for emoji autocomplete
3111+
and suggestion purposes. For correct rendering in Discord's UI, this
3112+
should ideally be a raw Unicode emoji or the string ID
3113+
of a custom emoji. Any string up to 200 characters is accepted.
31103114
file: :class:`File`
31113115
The file of the sticker to upload.
31123116
reason: :class:`str`

0 commit comments

Comments
 (0)