Skip to content

[BUG] Wrong description with set_rate_limit_per_user #906

@B1ue-Dev

Description

@B1ue-Dev

Describe the bug.

It seems like the description for the function set_rate_limit_per_user in interactions.api.models.channel is the wrong one, as it is identical with set_position.

List the steps.

  1. Open the source file.

What you expected.

Something that describes exactly the use of the function.

What you saw.

    async def set_rate_limit_per_user(
        self,
        rate_limit_per_user: int,
        *,
        reason: Optional[str] = None,
    ) -> "Channel":
        """
        Sets the position of the channel.

        :param rate_limit_per_user: The new rate_limit_per_user of the channel (0-21600)
        :type rate_limit_per_user: int
        :param reason?: The reason of the edit

What version of the library did you use?

unstable

Version specification

No response

Code of Conduct

  • I agree to follow the contribution requirements.

Metadata

Metadata

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