[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-06-12 20:45:28 +00:00
parent 69d3bc9ce1
commit 6670da76e8
1 changed files with 1 additions and 1 deletions

View File

@ -447,7 +447,7 @@ class Node:
"""Takes a guild ID as a parameter. Returns a pomice Player object or None.""" """Takes a guild ID as a parameter. Returns a pomice Player object or None."""
return self._players.get(guild_id, None) return self._players.get(guild_id, None)
async def connect(self, *, reconnect: bool = False) -> "Node": async def connect(self, *, reconnect: bool = False) -> Node:
"""Initiates a connection with a Lavalink node and adds it to the node pool.""" """Initiates a connection with a Lavalink node and adds it to the node pool."""
await self._bot.wait_until_ready() await self._bot.wait_until_ready()