1

I'm making a discord bot at the moment which should respond to either a right answer or wrong answer when the user inputs. my bot responds instantly after the question is sent (using discord.py) my code at the moment:

  ## code above working out answer and sending question
      if message.content.find(mainanswer):
                await message.channel.send("right")
            elif message.content != mainanswer:
                await message.channel.send("wrong")
jess
  • 11
  • 1

0 Answers0