Skip to content

Commit

Permalink
Update disnake/embeds.py
Browse files Browse the repository at this point in the history
Co-authored-by: shiftinv <[email protected]>
Signed-off-by: Snipy7374 <[email protected]>
  • Loading branch information
Snipy7374 and shiftinv authored Nov 16, 2024
1 parent da9237e commit 270b1ca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions disnake/embeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,9 +539,8 @@ def set_thumbnail(self, url: Optional[Any] = MISSING, *, file: File = MISSING) -
reusable.
.. warning::
If used with the other ``set_*`` methods you must ensure
that the :attr:`.File.filename` is different than the other file(s)
that you are passing.
If used with the other ``set_*`` methods, you must ensure
that the :attr:`.File.filename` is unique to avoid duplication.
.. versionchanged:: 1.4
Passing ``None`` removes the thumbnail.
Expand Down

0 comments on commit 270b1ca

Please sign in to comment.