discord py return user input code example
Example 1: discord.py get user input
msg = await client.wait_for("message", check=check, timeout=60)
#@Grepper Name
#https://www.codegrepper.com/app/profile.php?id=180238
#thats a good example, this is just a modofication, with a timeout
#just add the timeout={timeoutsecs}
Example 2: discord.py how get user input
playerChoice = await bot.wait_for('message', check=check(context.author), timeout=30)