Skip to content

Commit

Permalink
Update default value for inline field in embeds
Browse files Browse the repository at this point in the history
Co-authored-by: Louis <[email protected]>
Signed-off-by: Elitesparkle <[email protected]>
  • Loading branch information
Elitesparkle and Louis790 authored Dec 28, 2024
1 parent 884561d commit c24a93b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting-started/styling-messages/embeds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ embed.add_field(title="Inline Field 3", value="Inline Field 3", inline=True)

This small section shows off embed fields. You can add up to 25 fields to embeds with the [`add_field` method](https://docs.pycord.dev/en/master/api.html#discord.Embed.add_field)
of the [`discord.Embed`](https://docs.pycord.dev/en/master/api.html#embed) class. These consist of three
keyword arguments: `title`, `value`, and `inline`. `title` and `value` are both required arguments, whereas `inline` is optional and defaults to `False` when not defined. The `inline` argument specifies whether or not space will be divided among the inline fields. There could be a mix of fields where inline has different values too.
keyword arguments: `title`, `value`, and `inline`. `title` and `value` are both required arguments, whereas `inline` is optional and defaults to `True` when not defined. The `inline` argument specifies whether or not space will be divided among the inline fields. There could be a mix of fields where inline has different values too.

```py
embed.set_footer(text="Footer! No markdown here.") # footers can have icons too
Expand Down

0 comments on commit c24a93b

Please sign in to comment.