#๐ Can't connect to Wave link
20 messages ยท Page 1 of 1 (latest)
@prisma kraken
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Hey @prisma kraken!
It looks like you're trying to paste code into this channel.
Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.
To do this, use the following method:
```py
print('Hello, world!')
```
This will result in the following:
print('Hello, world!')```
You can **edit your original message** to correct your code block.
Discord links are purged, strip it before posting
@bot.event
async def on_ready():
print(f"Logged in as {bot.user}")
await connect_to_lavalink()
async def connect_to_lavalink():
node = await wavelink.NodePool.create_node(
bot=bot,
host="lava-v3.ajieblogs.eu.org",
port=443,
password=""
)
print("Connected to Lavalink node")
here
gives me this error
AttributeError: module 'wavelink' has no attribute 'NodePool'
2024-11-23 03:15:26 ERROR discord.client Ignoring exception in on_ready
Traceback (most recent call last):
File "C:\Users\RSR\AppData\Roaming\Python\Python312\site-packages\discord\client.py", line 449, in _run_event
await coro(*args, **kwargs)
File "c:\Users\RSR\Downloads\Music\connect.py", line 11, in on_ready
await connect_to_lavalink()
File "c:\Users\RSR\Downloads\Music\connect.py", line 14, in connect_to_lavalink
node = await wavelink.Pool.create_node(
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'Pool' has no attribute 'create_node'
still same
Well no, it's not the same error
my bad
You're going to hit a lot of those if you keep using an outdated tutorial, you should find something more up to date
i used chatgpt
๐
i just created ticket coz im unable to find new tutorial
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.