Fix set_* function name

This commit is contained in:
Arthur Jovart 2021-08-28 23:29:49 +02:00
parent 406f0ffe04
commit c8cdb275c5
No known key found for this signature in database
GPG Key ID: DE4444AAAAAAAAAA

View File

@ -471,7 +471,7 @@ class Embed:
except AttributeError:
pass
def set_embed(self: E, *, url: MaybeEmpty[Any]):
def set_thumbnail(self: E, *, url: MaybeEmpty[Any]):
"""Sets the thumbnail for the embed content.
This function returns the class instance to allow for fluent-style