Skip to content

Commit 7409248

Browse files
authored
docs(Embed): change description of field's index (#1051)
1 parent 9619ddb commit 7409248

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

interactions/api/models/message.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def insert_field_at(
477477
"""
478478
Inserts a field in the embed at the specified index
479479
480-
:param index: The new field's index
480+
:param index: The field's index to insert
481481
:type index: int
482482
:param name: The name of the field
483483
:type name: str
@@ -501,7 +501,7 @@ def set_field_at(
501501
"""
502502
Overwrites the field in the embed at the specified index
503503
504-
:param index: The new field's index
504+
:param index: The field's index to overwrite
505505
:type index: int
506506
:param name: The name of the field
507507
:type name: str
@@ -526,7 +526,7 @@ def remove_field(self, index: int) -> None:
526526
"""
527527
Remove field at the specified index
528528
529-
:param index: The new field's index
529+
:param index: The field's index to remove
530530
:type index: int
531531
"""
532532

0 commit comments

Comments
 (0)