Wavelink isn't maintained. I'd chose a new client.
async def connect_nodes(self):
await self.bot.wait_until_ready()
try:
nodes = [wavelink.Node(uri=f"http://{LAVALINK_HOST}:{LAVALINK_PORT}", password=LAVALINK_PASSWORD)]
await wavelink.Pool.connect(nodes=nodes, client=self.bot, cache_capacity=100)
print(f"[WAVELINK] Connected to Lavalink node: {LAVALINK_HOST}:{LAVALINK_PORT}")
except Exception as e:
print(f"[WAVELINK] Failed to connect to Lavalink: {e}")```