title: How can I get the number of messages sent by a user in a discord server without discord.py?
body: <p>Using discord's search function manually, you can enter something like <code>from:user#3456</code> and it will show you how many messages they've sent on the server (at least, messages you have access to).</p>
  <p>I've been told there is no way to get this information through discord.py, but is there really no way to get that data at all? Would I have to resort to a web scraping tool?</p>
  <p>To be clear, I have looked at <a href="https://discordpy.readthedocs.io/en/latest/api.html?highlight=history#discord.Member.history" rel="nofollow noreferrer">history()</a> already. What I'm looking for is a way to access the search function that Discord already has.</p>