Arnav Jindal
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
15 additions and
0 deletions
-
discord/embeds.py
|
|
@ -364,7 +364,22 @@ class Embed: |
|
|
|
self._footer['icon_url'] = str(icon_url) |
|
|
|
|
|
|
|
return self |
|
|
|
|
|
|
|
def remove_footer(self: E) -> E: |
|
|
|
"""Clears embed's footer information. |
|
|
|
|
|
|
|
This function returns the class instance to allow for fluent-style |
|
|
|
chaining. |
|
|
|
|
|
|
|
.. versionadded:: 2.0 |
|
|
|
""" |
|
|
|
try: |
|
|
|
del self._footer |
|
|
|
except AttributeError: |
|
|
|
pass |
|
|
|
|
|
|
|
return self |
|
|
|
|
|
|
|
@property |
|
|
|
def image(self) -> _EmbedMediaProxy: |
|
|
|
"""Returns an ``EmbedProxy`` denoting the image contents. |
|
|
|