Sebastian Law
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
5 deletions
-
discord/guild.py
|
|
@ -2405,7 +2405,7 @@ class Guild(Hashable): |
|
|
|
self, |
|
|
|
*, |
|
|
|
name: str, |
|
|
|
description: Optional[str] = None, |
|
|
|
description: str, |
|
|
|
emoji: str, |
|
|
|
file: File, |
|
|
|
reason: Optional[str] = None, |
|
|
@ -2423,8 +2423,8 @@ class Guild(Hashable): |
|
|
|
----------- |
|
|
|
name: :class:`str` |
|
|
|
The sticker name. Must be at least 2 characters. |
|
|
|
description: Optional[:class:`str`] |
|
|
|
The sticker's description. Can be ``None``. |
|
|
|
description: :class:`str` |
|
|
|
The sticker's description. |
|
|
|
emoji: :class:`str` |
|
|
|
The name of a unicode emoji that represents the sticker's expression. |
|
|
|
file: :class:`File` |
|
|
@ -2448,8 +2448,7 @@ class Guild(Hashable): |
|
|
|
'name': name, |
|
|
|
} |
|
|
|
|
|
|
|
if description: |
|
|
|
payload['description'] = description |
|
|
|
payload['description'] = description |
|
|
|
|
|
|
|
try: |
|
|
|
emoji = unicodedata.name(emoji) |
|
|
|