title: how can i use discord py in a discord thread (sub-channel, not Threads module)
body: <p>Im getting some errors mainly 403 missing permissions when trying to send an embed in a Thread-channel</p>
  <pre><code>Traceback (most recent call last):
    File &quot;main.py&quot;, line 212, in on_message
      status, work_return = await db_handler.work(user, channel, username, user_pfp)
    File &quot;/home/runner/believa/database/__init__.py&quot;, line 542, in work
      await channel.send(embed=embed)
    File &quot;/home/runner/believa/venv/lib/python3.8/site-packages/discord/abc.py&quot;, line 1065, in send
      data = await state.http.send_message(channel.id, content, tts=tts, embed=embed,
    File &quot;/home/runner/believa/venv/lib/python3.8/site-packages/discord/http.py&quot;, line 248, in request
      raise Forbidden(r, data)
  discord.errors.Forbidden: 403 Forbidden (error code: 50013): Missing Permissions
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File &quot;/home/runner/believa/venv/lib/python3.8/site-packages/discord/client.py&quot;, line 343, in _run_event
      await coro(*args, **kwargs)
    File &quot;main.py&quot;, line 223, in on_message
      await send_error(channel)
    File &quot;main.py&quot;, line 79, in send_error
      await channel.send(embed=embed)
    File &quot;/home/runner/believa/venv/lib/python3.8/site-packages/discord/abc.py&quot;, line 1065, in send
      data = await state.http.send_message(channel.id, content, tts=tts, embed=embed,
    File &quot;/home/runner/believa/venv/lib/python3.8/site-packages/discord/http.py&quot;, line 248, in request
      raise Forbidden(r, data)
  discord.errors.Forbidden: 403 Forbidden (error code: 50013): Missing Permissions
  </code></pre>
  <p>heres the code snippet ::</p>
  <pre><code>async def send_error(channel):
      embed = discord.Embed(title=&quot;Error.&quot;, description=&quot;Internal Error, call admin.&quot;, color=0xff0000)
      await channel.send(embed=embed)
      return
  </code></pre>
  <p>any ideas on what i should change or improve on? lmk!</p>