From 270b1ca3fb2836247854e6cc025a996229fdba1b Mon Sep 17 00:00:00 2001 From: Snipy7374 <100313469+Snipy7374@users.noreply.github.com> Date: Sat, 16 Nov 2024 16:45:31 +0100 Subject: [PATCH] Update disnake/embeds.py Co-authored-by: shiftinv <8530778+shiftinv@users.noreply.github.com> Signed-off-by: Snipy7374 <100313469+Snipy7374@users.noreply.github.com> --- disnake/embeds.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/disnake/embeds.py b/disnake/embeds.py index f23c9863eb..810c8759a1 100644 --- a/disnake/embeds.py +++ b/disnake/embeds.py @@ -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.