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

fix: Proper type-hinting & docstring of Member.move_to and Member.edit #2386

Merged
merged 9 commits into from Mar 8, 2024
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -10,6 +10,11 @@ possible (see our [Version Guarantees] for more info).

These changes are available on the `master` branch, but have not yet been released.

### Fixed

- Fixed the type-hinting of `Member.move_to` to reflect actual behavior.
- ([#2386](https://github.com/Pycord-Development/pycord/pull/2386))
plun1331 marked this conversation as resolved.
Show resolved Hide resolved

## [2.5.0] - 2024-03-02

### Added
Expand Down
2 changes: 1 addition & 1 deletion discord/member.py
Expand Up @@ -958,7 +958,7 @@ async def request_to_speak(self) -> None:
await self._state.http.edit_my_voice_state(self.guild.id, payload)

async def move_to(
self, channel: VocalGuildChannel, *, reason: str | None = None
self, channel: VocalGuildChannel | None, *, reason: str | None = None
) -> None:
"""|coro|

Expand Down