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 270b1ca commit 484995f
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 @@ -483,9 +483,8 @@ def set_image(self, url: Optional[Any] = MISSING, *, file: File = MISSING) -> Se
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 image.
Expand Down

0 comments on commit 484995f

Please sign in to comment.