how do I make a discord music bot based on a song name in python?

I started learning discord bots on python and wanted to make a music bot. I could only do it by following the link from YouTube, but I would like to do it like vexera (you enter the name of the song and the bot finds it in YouTube and starts playing it). P.S. When you try to enter the name of the song, an error is displayed,but I do not know how to use it, I did not find it anywhere..

ERROR: 'gta5soundtrack' is not a valid URL. Set --default-search "ytsearch" (or run youtube-dl "ytsearch:gta5soundtrack" ) to search YouTube

Author: kachger, 2021-01-15