title: discord.py Handle discord.errors.Forbidden: 403 Forbidden (error code: 50013): Missing Permissions
body: <p>im trying to handle this error <code>discord.errors.Forbidden: 403 Forbidden (error code: 50013): Missing Permissions</code></p>
  <p>I know that error appears when the bot is muted by a role in the discord server and the bot try to send a message(on_message) or a command. i just want to make a print in the python terminal something like &quot;Permission error.&quot; and not the big error that is written.
  i tried with this:</p>
  <pre><code>from discord.ext.commands import MissingPermissions
  async def on_command_error(ctx, error):
      if isinstance(error, CommandNotFound):
          return
      elif isinstance(error, (ConversionError, BadArgument)):
          await ctx.send(&quot;Respeta el formato del comando :eyes:&quot;)
          print(&quot;No se respetó el formato del comando &quot;)
  
          return
      elif isinstance(error, MissingRequiredArgument):
          await ctx.send(&quot;Debes ingresar la cantidad, Ej : *bot blabla 250* :eyes:&quot;)
          return
      if isinstance(error, MissingPermissions):
          print(&quot;error de permisos &quot;)
          return 
      if isinstance(error, commands.BotMissingPermissions) and &quot;Missing Permissions&quot; in str(error):
          print(&quot;error de permiso&quot;)
          return
      if isinstance(exception, commands.MissingPermissions):
          print(&quot;Blabla&quot;)
          return
      raise error
  </code></pre>
  <p>The others errors that i wrote are perfectly handled but i cant with the missingPermissions.</p>