Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Docs: Incorrect parameter description on Embed.remove_field() #1048

Closed
1 task done
DeinAlptraum opened this issue Aug 31, 2022 · 0 comments
Closed
1 task done
Assignees
Labels
bug Something isn't working

Comments

@DeinAlptraum
Copy link

Describe the bug.

In the docs, the description of the index parameter to the Embed.remove_field() method says it's the index of the new field. This doesn't make sense, since you pass the index of the field to be removed.

List the steps.

  1. Open https://interactionspy.readthedocs.io/en/latest/api.models.message.html#interactions.api.models.message.Embed.remove_field
  2. see description of remove_field's index parameter

What you expected.

Index of the field to be removed

What you saw.

The new field’s index

What version of the library did you use?

stable

Version specification

No response

Code of Conduct

  • I agree to follow the contribution requirements.
@DeinAlptraum DeinAlptraum added the bug Something isn't working label Aug 31, 2022
@DeinAlptraum DeinAlptraum changed the title [BUG] Incorrect parameter description on Embed.remove_field() [BUG] Docs: Incorrect parameter description on Embed.remove_field() Aug 31, 2022
@i0bs i0bs closed this as completed Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants