From 09a75eb78eb08b86f654b6eaac7d2bed4a2d1f41 Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani <46041660+null2264@users.noreply.github.com> Date: Thu, 2 Sep 2021 18:25:18 +0700 Subject: [PATCH] Remove return and setter docstring --- discord/embeds.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/discord/embeds.py b/discord/embeds.py index 51e70cd6..41f2be40 100644 --- a/discord/embeds.py +++ b/discord/embeds.py @@ -455,9 +455,6 @@ class Embed: @thumbnail.setter def thumbnail(self: E, url: Any): - """Sets the thumbnail for the embed content. - """ - if url is EmptyEmbed: del self._thumbnail else: @@ -465,8 +462,6 @@ class Embed: 'url': str(url), } - return - @thumbnail.deleter def thumbnail(self): try: