code: async def ignore(self, ctx):
          
          if ctx.invoked_subcommand is None:
              await self.bot.say('Invalid subcommand passed: {0.subcommand_passed}'.format(ctx))
docs: Handles the bot's ignore lists.
  
          To use these commands, you must have the Bot Admin role or have
          Manage Channels permissions. These commands are not allowed to be used
          in a private message context.
  
          Users with Manage Roles or Bot Admin role can still invoke the bot
          in ignored channels.