code: def cmd(send, msg, args):
      
      parser = arguments.ArgParser(args['config'])
      parser.add_argument('channel', nargs='+', action=arguments.ChanParser)
      try:
          cmdargs = parser.parse_args(msg)
      except arguments.ArgumentException as e:
          send(str(e))
          return
      for chan in cmdargs.channels:
          args['handler'].do_part(chan, args['nick'], args['target'], args['type'], send, args['handler'].connection)
docs: Orders the bot to leave a channel
      Syntax: {command} <channel>