Closed henriqueosilva closed 6 years ago
Check out the documentation for the library; There's a function which does exactly what you need here, and it's documented in good detail. https://discordpy.readthedocs.io/en/async/api.html#discord.Client.wait_for_message
Edit: to clarify, questions like this would be better suited for the discord.py server. Invite The issue tracker on github is more for issues/bugs with the library
Thanks a lot!, I've checked there but must have not seen it. Thanks again and have a good day.
Hello, I've been working on creating a bot for discord but i've been strugling with the play function to it, I wanted to make it work by a string input, to make a search on youtube and present to the user the first 5 results, insted of inputing a link, it's going quite well, but I need a way to run a on_message event inside this play function so that I can get the user input for one of the 5 presented results
These are the two functions in question