Skip to content

[BUG] Documentation Bug in interactions.models.component.Button #383

@niklasmoell

Description

@niklasmoell

Describe the bug
The Documentation is wrong.

Reproducing steps
Look in the Documentation:
https://discord-interactions.readthedocs.io/en/unstable/models.component.html

image

What's normally expected
The name of the argument should be "label".

What actually happened
The name of the argument is "str".

Versions

  • I am using discord.py versions 1.7 and below with my code.
    • I am using 2.0 or higher, or a modified fork.
  • I am using dis-snek with my code.
  • I am not using any of the listed above and am using the library code alone.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions