Using the Discord API in Python, how do I prompt a response from a message from my bot?

Viewed 56

I'm creating a function for my Discord bot for a Magic Eight Ball. I want to prompt the user to input a question. I'll then respond with a "prophecy" from an array. I'm not sure how to include user input to a message on my end, though. However, the array is all set up.

if message.content.startswith('$ eightball'):
    await message.channel.send("Ask the eight ball a question")
    #Code to prompt user input
    content = message.content
    finalEightBall = magic_eight_ball()
    await message.channel.send(finalEightBall)
0 Answers
Related