title: Bot responding on mention and also when anyone reply bot message
body: <p>I wrote this code for bot response when someone mentions the bot. But the problem is when anyone replies bot message, it also responds and I don't want this type of response! Now what to do to solve this issue?</p>
  <p><strong>Code:</strong></p>
  <pre class="lang-py prettyprint-override"><code>@commands.Cog.listener()
  async def on_message(self, message):
      if message.author.bot:
          return
      if f&quot;&lt;@!{self.bot.user.id}&gt;&quot; or f&quot;&lt;@?{self.bot.user.id}&gt;&quot; in message.content.split():
          pfx = get_prefix(self.bot, message)
          await message.channel.send(f&quot;My prefix : {pfx}&quot;)
  </code></pre>
  <p><strong>Bot response:</strong></p>
  <p>That's ok!</p>
  <p><a href="https://i.stack.imgur.com/V6f63.png" rel="nofollow noreferrer">OK</a></p>
  <p>Don't want this type of response!</p>
  <p><a href="https://i.stack.imgur.com/dcAwm.png" rel="nofollow noreferrer">Problm</a></p>
  <p>Please help to fix this!</p>