diff --git a/discord/embeds.py b/discord/embeds.py index 3aaaeff31..6e1c1cee8 100644 --- a/discord/embeds.py +++ b/discord/embeds.py @@ -273,11 +273,11 @@ class Embed: total += len(field['name']) + len(field['value']) try: - footer = self._footer - except AttributeError: + footer_text = self._footer['text'] + except (AttributeError, KeyError): pass else: - total += len(footer['text']) + total += len(footer_text) try: author = self._author