Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Commit dc280e8

Browse files
committed
Update README.rst
1 parent cd5dca0 commit dc280e8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Wavelink features a fully asynchronous API that's intuitive and easy to use with
3939

4040
Documentation
4141
---------------------------
42-
`Official Documentation <https://wavelink.readthedocs.io/en/latest/index.html>`_
42+
`Official Documentation <https://wavelink.dev/>`_
4343

4444
Support
4545
---------------------------
@@ -110,7 +110,12 @@ Getting Started
110110
else:
111111
vc: wavelink.Player = ctx.voice_client
112112
113-
track = await wavelink.YouTubeTrack.search(search, return_first=True)
113+
tracks = await wavelink.YouTubeTrack.search(search)
114+
if not tracks:
115+
await ctx.send(f'No tracks found with query: `{search}`')
116+
return
117+
118+
track = tracks[0]
114119
await vc.play(track)
115120
116121

0 commit comments

Comments
 (0)