def add_field(self, *, name, value, inline=True):
field = {<EOL>'<STR_LIT>': inline,<EOL>'<STR_LIT:name>': str(name),<EOL>'<STR_LIT:value>': str(value)<EOL>}<EOL>try:<EOL><INDENT>self._fields.append(field)<EOL><DEDENT>except AttributeError:<EOL><INDENT>self._fields = [field]<EOL><DEDENT>return self<EOL>
Adds a field to the embed object.

        This function returns the class instance to allow for fluent-style
        chaining.

        Parameters
        -----------
        name: :class:`str`
            The name of the field.
        value: :class:`str`
            The value of the field.
        inline: :class:`bool`
            Whether the field should be displayed inline.