Browse Source

Add versionadded string for Emoji.url_as

pull/6176/head
Rapptz 5 years ago
parent
commit
3fea697ba5
  1. 2
      discord/emoji.py

2
discord/emoji.py

@ -162,6 +162,8 @@ class Emoji(_EmojiTag):
The format must be one of 'webp', 'jpeg', 'jpg', 'png' or 'gif'. The format must be one of 'webp', 'jpeg', 'jpg', 'png' or 'gif'.
'gif' is only valid for animated emojis. 'gif' is only valid for animated emojis.
.. versionadded:: 1.6
Parameters Parameters
----------- -----------
format: Optional[:class:`str`] format: Optional[:class:`str`]

Loading…
Cancel
Save