Skip to content

Commit 60072da

Browse files
authored
Typehint new methods
1 parent 6473607 commit 60072da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discord/embeds.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def set_image(self: E, *, url: MaybeEmpty[Any]) -> E:
424424

425425
return self
426426

427-
def remove_image(self):
427+
def remove_image(self: E) -> E:
428428
"""Removes the embed's image.
429429
430430
This function returns the class instance to allow for fluent-style
@@ -482,7 +482,7 @@ def set_thumbnail(self: E, *, url: MaybeEmpty[Any]) -> E:
482482

483483
return self
484484

485-
def remove_thumbnail(self):
485+
def remove_thumbnail(self: E) -> E:
486486
"""Removes the embed's thumbnail.
487487
488488
This function returns the class instance to allow for fluent-style

0 commit comments

Comments
 (0)