From 2367d9d7e2d9fec871e34c5b0f3b88f717060974 Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani <46041660+null2264@users.noreply.github.com> Date: Wed, 1 Sep 2021 19:08:29 +0700 Subject: [PATCH] Fixed `TypeError` --- discord/embeds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/embeds.py b/discord/embeds.py index 25f05aef..a877b5c8 100644 --- a/discord/embeds.py +++ b/discord/embeds.py @@ -404,7 +404,7 @@ class Embed: return EmbedProxy(getattr(self, '_image', {})) # type: ignore @image.setter - def image(self: E, *, url: Any): + def image(self: E, url: Any): self._image = { 'url': str(url), } @@ -454,7 +454,7 @@ class Embed: return EmbedProxy(getattr(self, '_thumbnail', {})) # type: ignore @thumbnail.setter - def thumbnail(self: E, *, url: Any): + def thumbnail(self: E, url: Any): """Sets the thumbnail for the embed content. """