Browse Source

Grammar fixes for notes on EmbedProxy

pull/2188/head
Dante Dam 6 years ago
committed by Rapptz
parent
commit
84e9168447
  1. 6
      discord/embeds.py

6
discord/embeds.py

@ -64,9 +64,9 @@ class Embed:
Returns the total size of the embed. Returns the total size of the embed.
Useful for checking if it's within the 6000 character limit. Useful for checking if it's within the 6000 character limit.
Certain properties return an ``EmbedProxy``. Which is a type Certain properties return an ``EmbedProxy``, a type
that acts similar to a regular :class:`dict` except access the attributes that acts similar to a regular :class:`dict` except using dotted access,
via dotted access, e.g. ``embed.author.icon_url``. If the attribute e.g. ``embed.author.icon_url``. If the attribute
is invalid or empty, then a special sentinel value is returned, is invalid or empty, then a special sentinel value is returned,
:attr:`Embed.Empty`. :attr:`Embed.Empty`.

Loading…
Cancel
Save