title: How to send the full traceback code to a channel?
body: <pre><code>if isinstance(error, commands.CommandInvokeError):
      await ctx.send(&quot;Hey! You lack permission to use this command.&quot;)
      t=traceback.format_exc()
      await logs.send(f&quot;```py\n{t}```&quot;)
  raise error
  </code></pre>
  <p>That's my code to send the full traceback to a specific channel.</p>
  <p>But it always sends</p>
  <pre><code>NoneType: None
  </code></pre>
  <p>Any help is appreciated</p>