@classmethod<EOL><INDENT>def from_dict(cls, data):<DEDENT>
<EOL>self = cls.__new__(cls)<EOL>self.title = data.get('<STR_LIT:title>', EmptyEmbed)<EOL>self.type = data.get('<STR_LIT:type>', EmptyEmbed)<EOL>self.description = data.get('<STR_LIT:description>', EmptyEmbed)<EOL>self.url = data.get('<STR_LIT:url>', EmptyEmbed)<EOL>try:<EOL><INDENT>self._colour = Colour(value=data['<STR_LIT>'])<EOL><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT>try:<EOL><INDENT>self._timestamp = utils.parse_time(data['<STR_LIT>'])<EOL><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT>for attr in ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT:image>', '<STR_LIT>'):<EOL><INDENT>try:<EOL><INDENT>value = data[attr]<EOL><DEDENT>except KeyError:<EOL><INDENT>continue<EOL><DEDENT>else:<EOL><INDENT>setattr(self, '<STR_LIT:_>' + attr, value)<EOL><DEDENT><DEDENT>return self<EOL>
Converts a :class:`dict` to a :class:`Embed` provided it is in the
        format that Discord expects it to be in.

        You can find out about this format in the `official Discord documentation`__.

        .. _DiscordDocs: https://discordapp.com/developers/docs/resources/channel#embed-object

        __ DiscordDocs_

        Parameters
        -----------
        data: :class:`dict`
            The dictionary to convert into an embed.