Skip to content

Commit 6c78959

Browse files
MauriceHandwerkerLulalaby
authored andcommitted
fix: syntax errors
1 parent de4f133 commit 6c78959

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/getting-started/more-features.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,10 @@ that return color values. While the official, documented name of this is `discor
195195
works as well.
196196

197197
```py
198-
embed.add_field(title="A Normal Field", value="A really nice field with some information. **The description as well as the fields support markdown!**")
199-
embed.add_field(title="Inline Field 1", value="Inline Field 1", inline=True)
200-
embed.add_field(title="Inline Field 2", value="Inline Field 2", inline=True)
201-
embed.add_field(title="Inline Field 3", value="Inline Field 3", inline=True)
198+
embed.add_field(name="A Normal Field", value="A really nice field with some information. **The description as well as the fields support markdown!**")
199+
embed.add_field(name="Inline Field 1", value="Inline Field 1", inline=True)
200+
embed.add_field(name="Inline Field 2", value="Inline Field 2", inline=True)
201+
embed.add_field(name="Inline Field 3", value="Inline Field 3", inline=True)
202202
```
203203

204204
This small section shows off embed fields. You can add fields to embeds with the [`add_field` method](https://docs.pycord.dev/en/stable/api/data_classes.html#discord.Embed.add_field)

0 commit comments

Comments
 (0)