Skip to content

Commit c24a93b

Browse files
Update default value for inline field in embeds
Co-authored-by: Louis <[email protected]> Signed-off-by: Elitesparkle <[email protected]>
1 parent 884561d commit c24a93b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/getting-started/styling-messages/embeds.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ embed.add_field(title="Inline Field 3", value="Inline Field 3", inline=True)
148148

149149
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)
150150
of the [`discord.Embed`](https://docs.pycord.dev/en/master/api.html#embed) class. These consist of three
151-
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.
151+
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.
152152

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

0 commit comments

Comments
 (0)