response = client.wait_for_message(author=ctx.message.author, timeout=30) myvar = response.content Make sure to Define ctx and message if you want it to be controlled by a command