title: Why does the any() method not return what I think it should?
body: <p>I'm trying to set up a bot that deletes messages if they include a specific string from a list anywhere in their body.</p>
  
  <p>This code works exactly how I think it should: (returns True)</p>
  
  <pre><code>s = 'test upvote test'
  upvote_strings = ['upvote', 'up vote', 'doot']
  print(any(x in s for x in upvote_strings))
  </code></pre>
  
  <p>But this does not: (returns False)</p>
  
  <pre><code>s = 'your upvotе bot thing works fine lmao'
  upvote_strings = ['upvote', 'up vote', 'doot']
  print(any(x in s for x in upvote_strings))
  </code></pre>