title: TypeError: in txt to list discord.py
body: <p>i want to make a bot that say bruh when your mesage is equal to the word in bruh.txt</p>
  <p>my code:</p>
  <pre><code>bruh_file = open(&quot;bruh.txt&quot;, &quot;r&quot;)
  bruh_mo = [(line.strip()).split() for line in bruh_file]
  bruh_file.close()
  
  @client.event
  async def on_message(message):
    msg = message.content
    if message.author == client.user:
      return
    if any(word in msg for word in bruh_mo):
      await message.channel.send(&quot;bruh&quot;)
  </code></pre>
  <p>but when i try it , it did'nt responed and i get this:</p>
  <blockquote>
  <p>Ignoring exception in on_message
  Traceback (most recent call last):
  File &quot;/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py&quot;, line 343, in _run_event
  await coro(*args, **kwargs)
  File &quot;main.py&quot;, line 53, in on_message
  if any(word in msg for word in bruh_mo):
  File &quot;main.py&quot;, line 53, in 
  if any(word in msg for word in bruh_mo):
  TypeError: 'in ' requires string as left operand, not list
  Ignoring exception in on_message
  Traceback (most recent call last):
  File &quot;/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py&quot;, line 343, in _run_event
  await coro(*args, **kwargs)
  File &quot;main.py&quot;, line 53, in on_message
  if any(word in msg for word in bruh_mo):
  File &quot;main.py&quot;, line 53, in 
  if any(word in msg for word in bruh_mo):
  TypeError: 'in ' requires string as left operand, not list
  172.18.0.1 - - [30/Dec/2021 09:27:25] &quot;HEAD / HTTP/1.1&quot; 200 -</p>
  </blockquote>
  <p>can someone help me</p>