aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/embeds.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/discord/embeds.py b/discord/embeds.py
index 8acf1e32..e02918ef 100644
--- a/discord/embeds.py
+++ b/discord/embeds.py
@@ -395,6 +395,21 @@ class Embed:
return self
+ def remove_author(self):
+ """Clears embed's author information.
+
+ This function returns the class instance to allow for fluent-style
+ chaining.
+
+ .. versionadded:: 1.4
+ """
+ try:
+ del self._author
+ except AttributeError:
+ pass
+
+ return self
+
@property
def fields(self):
"""Returns a :class:`list` of ``EmbedProxy`` denoting the field contents.